summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/midipix.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/config/i386/midipix.h b/gcc/config/i386/midipix.h
index 2354cf2ce..5094560a1 100644
--- a/gcc/config/i386/midipix.h
+++ b/gcc/config/i386/midipix.h
@@ -22,6 +22,7 @@
#include <stdio.h>
#include "coretypes.h"
+
#if TARGET_64BIT_DEFAULT
#define MULTILIB_DEFAULTS { "m64" }
#else
@@ -29,6 +30,24 @@
#endif
+#undef SIZE_TYPE
+#define SIZE_TYPE (TARGET_64BIT \
+ ? "long unsigned int" \
+ : "unsigned int")
+
+#undef PTRDIFF_TYPE
+#define PTRDIFF_TYPE (TARGET_64BIT \
+ ? "long int" \
+ : "int")
+
+#undef WCHAR_TYPE
+#define WCHAR_TYPE "int"
+
+
+#undef WCHAR_TYPE_SIZE
+#define WCHAR_TYPE_SIZE 32
+
+
/* identify targets */
#define TARGET_NT64 (TARGET_64BIT)
#define TARGET_NT32 (!TARGET_64BIT)