summaryrefslogtreecommitdiff
path: root/ACE/ace/config-win32-common.h
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2011-03-03 15:51:17 +0000
committerSteve Huston <shuston@riverace.com>2011-03-03 15:51:17 +0000
commitdf8f21a5e3f43c8c04580159427cec0dfd136933 (patch)
tree6e7df0da77d41da77a1067c519449d140607287d /ACE/ace/config-win32-common.h
parent298a6c58e1383371998df02f0de00f8a016e2260 (diff)
downloadATCD-df8f21a5e3f43c8c04580159427cec0dfd136933.tar.gz
ChangeLogTag:Thu Mar 3 15:49:52 UTC 2011 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ACE/ace/config-win32-common.h')
-rw-r--r--ACE/ace/config-win32-common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ACE/ace/config-win32-common.h b/ACE/ace/config-win32-common.h
index 5428e1ee96b..b5398b789c2 100644
--- a/ACE/ace/config-win32-common.h
+++ b/ACE/ace/config-win32-common.h
@@ -26,6 +26,12 @@
#if defined (_WIN64) || defined (WIN64)
# define ACE_WIN64
+// MPC template adds _AMD64_ but user projects not generated using MPC
+// may want to use _AMD64_ as well. Ensure it's there in all cases.
+# ifndef _AMD64_
+# define _AMD64_
+# endif
+
// Use 64-bit file offsets by default in the WIN64 case, similar to
// what 64-bit UNIX systems do.
//