Add platform TARGET_* macros to winconfig.h instead of setting in VS project file.
authorJonathan Chambers <joncham@gmail.com>
Wed, 7 Mar 2012 02:54:35 +0000 (21:54 -0500)
committerJonathan Chambers <joncham@gmail.com>
Wed, 7 Mar 2012 02:54:35 +0000 (21:54 -0500)
winconfig.h

index 92d2cb925b19e2aa2f9858eb3ef3b76d970f8a35..c544f77d00967755315c9995781ccb1b1f9febbc 100644 (file)
 #define HOST_WIN32 1
 #define TARGET_WIN32 1
 
+#ifdef _WIN64
+#define TARGET_AMD64 1
+#else
+#define TARGET_X86 1
+#endif
+
 /* pthread_t is a pointer */
 /* #undef PTHREAD_POINTER_ID */