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 | 1a1ffb10d00826d158e47d65fc3950c095c1a9ad (patch) | |
tree | a4eb5353ebfdef9d5b980a20d4da4f0c29738b42 /ares/config-win32.h | |
parent | 2a056ba49e6ccca7c1dbeac17bb68a4b04a43da4 (diff) |
Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems
Diffstat (limited to 'ares/config-win32.h')
-rw-r--r-- | ares/config-win32.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ares/config-win32.h b/ares/config-win32.h index 48af822b9..d7b11797f 100644 --- a/ares/config-win32.h +++ b/ares/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 */ /* ---------------------------------------------------------------- */ |