summaryrefslogtreecommitdiff
path: root/config-win32.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-28 02:51:35 +0000
committerYang Tse <yangsita@gmail.com>2010-02-28 02:51:35 +0000
commitb6ffa03a21ed9ec830c1d94b0eed4885feb278d7 (patch)
tree009bfd0ae8904329c7986f9cd94bbe3f64ff620a /config-win32.h
parent62f43da764223d03a476a7d6689b59a2800a3a7f (diff)
downloadc-ares-b6ffa03a21ed9ec830c1d94b0eed4885feb278d7.tar.gz
c-ares-b6ffa03a21ed9ec830c1d94b0eed4885feb278d7.tar.bz2
c-ares-b6ffa03a21ed9ec830c1d94b0eed4885feb278d7.zip
Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems
Diffstat (limited to 'config-win32.h')
-rw-r--r--config-win32.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/config-win32.h b/config-win32.h
index 48af822..d7b1179 100644
--- a/config-win32.h
+++ b/config-win32.h
@@ -219,6 +219,16 @@
#endif
/* ---------------------------------------------------------------- */
+/* TYPE SIZES */
+/* ---------------------------------------------------------------- */
+
+/* The size of `int', as computed by sizeof. */
+#define SIZEOF_INT 4
+
+/* The size of `short', as computed by sizeof. */
+#define SIZEOF_SHORT 2
+
+/* ---------------------------------------------------------------- */
/* STRUCT RELATED */
/* ---------------------------------------------------------------- */