From: Kurt Zeilenga Date: Wed, 18 Nov 1998 06:10:11 +0000 (+0000) Subject: Need to add SIZEOF defines. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~1097 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3474bbaed56d344ab4c3d4c1520b0fb4be363f0e;p=openldap Need to add SIZEOF defines. --- diff --git a/include/portable.h.nt b/include/portable.h.nt index 40f2a77236..90df2e963b 100644 --- a/include/portable.h.nt +++ b/include/portable.h.nt @@ -286,6 +286,15 @@ typedef char * caddr_t; LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS */ +/* 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 */