add missing file
authorMatthias Braun <matze@braunis.de>
Wed, 28 Nov 2007 10:56:41 +0000 (10:56 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 28 Nov 2007 10:56:41 +0000 (10:56 +0000)
[r18562]

target_architecture.h [new file with mode: 0644]

diff --git a/target_architecture.h b/target_architecture.h
new file mode 100644 (file)
index 0000000..13c9f2e
--- /dev/null
@@ -0,0 +1,21 @@
+#ifndef TARGET_ARCHITECTURE_H
+#define TARGET_ARCHITECTURE_H
+
+#define HAS_SIGNED_CHAR
+//#define HAS_UNSIGNED_CHAR
+
+#include <limits.h>
+
+#define TARGET_INT_MIN     INT_MIN
+#define TARGET_INT_MAX     INT_MAX
+#define TARGET_UINT_MAX    UINT_MAX
+
+#define TARGET_LONG_MIN    LONG_MIN
+#define TARGET_LONG_MAX    LONG_MAX
+#define TARGET_ULONG_MAX   ULONG_MAX
+
+#define TARGET_LONGLONG_MIN   LLONG_MIN
+#define TARGET_LONGLONG_MAX   LLONG_MAX
+#define TARGET_ULONGLONG_MAX  ULLONG_MAX
+
+#endif