summaryrefslogtreecommitdiff
path: root/ptw32_InterlockedCompareExchange.c
diff options
context:
space:
mode:
Diffstat (limited to 'ptw32_InterlockedCompareExchange.c')
-rw-r--r--ptw32_InterlockedCompareExchange.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ptw32_InterlockedCompareExchange.c b/ptw32_InterlockedCompareExchange.c
index be39cd4..fa4bea7 100644
--- a/ptw32_InterlockedCompareExchange.c
+++ b/ptw32_InterlockedCompareExchange.c
@@ -140,7 +140,8 @@ ptw32_InterlockedCompareExchange (PTW32_INTERLOCKED_LPLONG location,
* unsupported processor or compiler.
*/
- result = 0;
+#error Unsupported platform or compiler!
+#endif
#endif
@@ -275,7 +276,8 @@ L1: MOV eax,dword ptr [ecx]
* unsupported processor or compiler.
*/
- result = 0;
+#error Unsupported platform or compiler!
+#endif
#endif