summaryrefslogtreecommitdiff
path: root/support/cpp/gcc
diff options
context:
space:
mode:
authorepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>2022-11-29 04:57:25 +0000
committerepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>2022-11-29 04:57:25 +0000
commit415f7b9caa39f253795302e71bedca802e9f49cf (patch)
treed09f25bd9318a634601a9a6f97e6f67cee4a2a90 /support/cpp/gcc
parent88b3377a523438e99c91c5c50261c7a24efd075e (diff)
* support/cpp/gcc/system.h: don't try to check inodes when
compiled for Windows git-svn-id: http://svn.code.sourceforge.net/p/sdcc/code/trunk/sdcc@13759 4a8a32a2-be11-0410-ad9d-d568d2c75423
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