projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
247d913
)
Add platform TARGET_* macros to winconfig.h instead of setting in VS project file.
author
Jonathan Chambers
<joncham@gmail.com>
Wed, 7 Mar 2012 02:54:35 +0000
(21:54 -0500)
committer
Jonathan Chambers
<joncham@gmail.com>
Wed, 7 Mar 2012 02:54:35 +0000
(21:54 -0500)
winconfig.h
patch
|
blob
|
history
diff --git
a/winconfig.h
b/winconfig.h
index 92d2cb925b19e2aa2f9858eb3ef3b76d970f8a35..c544f77d00967755315c9995781ccb1b1f9febbc 100644
(file)
--- a/
winconfig.h
+++ b/
winconfig.h
@@
-571,6
+571,12
@@
#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 */