From 1a1ffb10d00826d158e47d65fc3950c095c1a9ad Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 28 Feb 2010 02:51:35 +0000 Subject: Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems --- ares/config-win32.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ares/config-win32.h') 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 @@ -218,6 +218,16 @@ # endif #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 */ /* ---------------------------------------------------------------- */ -- cgit v1.2.3