summaryrefslogtreecommitdiff
path: root/support/cpp/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'support/cpp/gcc')
-rw-r--r--support/cpp/gcc/system.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/support/cpp/gcc/system.h b/support/cpp/gcc/system.h
index 112b1d8aa..75fde0f20 100644
--- a/support/cpp/gcc/system.h
+++ b/support/cpp/gcc/system.h
@@ -22,6 +22,12 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_SYSTEM_H
#define GCC_SYSTEM_H
+/* A little hack for sdcpp when compiling for Windows */
+#if defined(_WIN32) || defined(_WIN64)
+#define HOST_LACKS_INODE_NUMBERS 1
+#endif
+
+
/* Define this so that inttypes.h defines the PRI?64 macros even
when compiling with a C++ compiler. Define it here so in the
event inttypes.h gets pulled in by another header it is already