diff options
Diffstat (limited to 'ares')
| -rw-r--r-- | ares/config-win32.h | 10 | ||||
| -rw-r--r-- | ares/config.dos | 2 | 
2 files changed, 12 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                          */  /* ---------------------------------------------------------------- */ diff --git a/ares/config.dos b/ares/config.dos index fdf46a359..7439aa350 100644 --- a/ares/config.dos +++ b/ares/config.dos @@ -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(). */ | 
