Skip to content

Commit

Permalink
Fix 32 bit Windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Feb 23, 2025
1 parent bb93aa4 commit 9c6a8c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backends/system/microsoft/includes/kore3/backend/atomic.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#ifndef _WIN64
#include <kinc/error.h>
#include <kore3/error.h>
#endif

#include <intrin.h>
Expand Down Expand Up @@ -34,6 +34,6 @@ static inline void kore_atomic_exchange_double(volatile double *pointer, double
#ifdef _WIN64
_InterlockedExchange64((volatile __int64 *)pointer, *(__int64 *)&value);
#else
kinc_error_message("kinc_atomic_exchange_double is not supported for 32 bit Windows builds");
kore_error_message("kinc_atomic_exchange_double is not supported for 32 bit Windows builds");
#endif
}

0 comments on commit 9c6a8c3

Please sign in to comment.