diff options
author | Yang Tse <yangsita@gmail.com> | 2010-02-28 02:51:35 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-02-28 02:51:35 +0000 |
commit | b6ffa03a21ed9ec830c1d94b0eed4885feb278d7 (patch) | |
tree | 009bfd0ae8904329c7986f9cd94bbe3f64ff620a | |
parent | 62f43da764223d03a476a7d6689b59a2800a3a7f (diff) | |
download | c-ares-b6ffa03a21ed9ec830c1d94b0eed4885feb278d7.tar.gz c-ares-b6ffa03a21ed9ec830c1d94b0eed4885feb278d7.tar.bz2 c-ares-b6ffa03a21ed9ec830c1d94b0eed4885feb278d7.zip |
Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems
-rw-r--r-- | config-win32.h | 10 | ||||
-rw-r--r-- | config.dos | 2 |
2 files changed, 12 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 */ /* ---------------------------------------------------------------- */ @@ -31,6 +31,8 @@ #define NEED_MALLOC_H 1 #define RETSIGTYPE void +#define SIZEOF_INT 4 +#define SIZEOF_SHORT 2 #define TIME_WITH_SYS_TIME 1 /* Qualifiers for send(), recv(), recvfrom() and getnameinfo(). */ |