summaryrefslogtreecommitdiff
path: root/src/config-win32.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 /src/config-win32.h
parent697496ff99be5842f380f8b2fd6789f623e376be (diff)
downloadcurl-cef95aadebf0be4be6b4ed82e07f38cc83faf546.tar.gz
Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems
Diffstat (limited to 'src/config-win32.h')
-rw-r--r--src/config-win32.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/config-win32.h b/src/config-win32.h
index 22d1c7276..7dacb55ce 100644
--- a/src/config-win32.h
+++ b/src/config-win32.h
@@ -208,6 +208,22 @@
#endif
/* ---------------------------------------------------------------- */
+/* TYPE SIZES */
+/* ---------------------------------------------------------------- */
+
+/* The size of `int', as computed by sizeof. */
+#define SIZEOF_INT 4
+
+/* The size of `long double', as computed by sizeof. */
+#define SIZEOF_LONG_DOUBLE 16
+
+/* The size of `long long', as computed by sizeof. */
+/* #define SIZEOF_LONG_LONG 8 */
+
+/* The size of `short', as computed by sizeof. */
+#define SIZEOF_SHORT 2
+
+/* ---------------------------------------------------------------- */
/* STRUCT RELATED */
/* ---------------------------------------------------------------- */