aboutsummaryrefslogtreecommitdiff
path: root/backendC
diff options
context:
space:
mode:
authorjohnvg2016-09-20 10:48:32 +0000
committerjohnvg2016-09-20 10:48:32 +0000
commita8a0cd20f8537ee9f49b3a9d29acc02a7d5ab895 (patch)
treeb5f85591540f493668aa0defdd56443eb64c620c /backendC
parentrename function CopyContext to copy_context to avoid conflict with Windows AP... (diff)
avoid annoying C compiler warnings for _X86_
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2739 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backendC')
-rw-r--r--backendC/CleanCompilerSources/types.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/backendC/CleanCompilerSources/types.t b/backendC/CleanCompilerSources/types.t
index 987d0b5..3335b16 100644
--- a/backendC/CleanCompilerSources/types.t
+++ b/backendC/CleanCompilerSources/types.t
@@ -53,7 +53,9 @@ typedef unsigned long SysTime;
# ifdef __MWERKS__
# include <x86_prefix.h>
# else
-# define _X86_
+# ifndef _X86_
+# define _X86_
+# endif
# endif
# include <windef.h>
# include <winbase.h>