summaryrefslogtreecommitdiff
path: root/ptw32_InterlockedCompareExchange.c
diff options
context:
space:
mode:
authorrpj <rpj>2009-03-03 21:43:47 +0000
committerrpj <rpj>2009-03-03 21:43:47 +0000
commit271aefcce0ebde39bc104daf342e1048727727d0 (patch)
treec137e24684d20453e06529c75f5028cd5c060957 /ptw32_InterlockedCompareExchange.c
parente0513b5c7247bdafd5398f03bb7853cd880f5de6 (diff)
''
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