summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/config/checks/architecture/x86.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/config/checks/architecture/x86.cpp')
-rw-r--r--src/boost/libs/config/checks/architecture/x86.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/boost/libs/config/checks/architecture/x86.cpp b/src/boost/libs/config/checks/architecture/x86.cpp
new file mode 100644
index 00000000..0d2f9c2e
--- /dev/null
+++ b/src/boost/libs/config/checks/architecture/x86.cpp
@@ -0,0 +1,16 @@
+// x86.cpp
+//
+// Copyright (c) 2012 Steven Watanabe
+//
+// Distributed under the Boost Software License Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#if !defined(i386) && !defined(__i386__) && !defined(__i386) \
+ && !defined(__i486__) && !defined(__i586__) && !defined(__i686__) \
+ && !defined(_M_IX86) && !defined(__X86__) && !defined(_X86_) \
+ && !defined(__THW_INTEL__) && !defined(__I86__) && !defined(__INTEL__) \
+ && !defined(__amd64__) && !defined(__x86_64__) && !defined(__amd64) \
+ && !defined(__x86_64) && !defined(_M_X64)
+#error "Not x86"
+#endif