aboutsummaryrefslogtreecommitdiff
path: root/lib/config-os400.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-26 18:32:46 +0000
committerYang Tse <yangsita@gmail.com>2010-02-26 18:32:46 +0000
commitcef95aadebf0be4be6b4ed82e07f38cc83faf546 (patch)
tree25bc10d186d74e1289ce9fdb23bd553768aec8e3 /lib/config-os400.h
parent697496ff99be5842f380f8b2fd6789f623e376be (diff)
Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems
Diffstat (limited to 'lib/config-os400.h')
-rw-r--r--lib/config-os400.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/config-os400.h b/lib/config-os400.h
index ac75db2a2..dad4d0c35 100644
--- a/lib/config-os400.h
+++ b/lib/config-os400.h
@@ -349,6 +349,9 @@
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
+/* The size of `int', as computed by sizeof. */
+#define SIZEOF_INT 4
+
/* The size of a `long double', as computed by sizeof. */
#define SIZEOF_LONG_DOUBLE 8
@@ -358,6 +361,9 @@
/* The size of a `long long', as computed by sizeof. */
#define SIZEOF_LONG_LONG 8
+/* The size of `short', as computed by sizeof. */
+#define SIZEOF_SHORT 2
+
/* Whether long long constants must be suffixed by LL. */
#define HAVE_LL