From: Kurt Zeilenga Date: Wed, 18 Nov 1998 06:16:41 +0000 (+0000) Subject: portable.h.nt needs SIZEOF. X-Git-Tag: OPENLDAP_REL_ENG_1_1_ALPHA3~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac9c809100905e54918c41cda1ec7357ac274242;p=thirdparty%2Fopenldap.git portable.h.nt needs SIZEOF. --- diff --git a/include/portable.h.nt b/include/portable.h.nt index 2adb8d1284..77936fd31d 100644 --- a/include/portable.h.nt +++ b/include/portable.h.nt @@ -285,6 +285,15 @@ typedef char * caddr_t; /* define this to use SLAPD shell backend */ /* #undef SLAPD_SHELL */ +/* The number of bytes in a int. */ +#define SIZEOF_INT 4 + +/* The number of bytes in a long. */ +#define SIZEOF_LONG 4 + +/* The number of bytes in a short. */ +#define SIZEOF_SHORT 2 + /* Define if you have the bcopy function. */ /* #undef HAVE_BCOPY */