]> code.citadel.org Git - citadel.git/commitdiff
* domain.h: changed the HP/UX compatibility code to use defines from
authorMichael Hampton <io_error@uncensored.citadel.org>
Tue, 21 Nov 2000 11:12:57 +0000 (11:12 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Tue, 21 Nov 2000 11:12:57 +0000 (11:12 +0000)
   typesize.h for integers of specific bit widths (needed for Solaris, etc)

citadel/ChangeLog
citadel/domain.h

index 60698dd318a49549e37d89337ee87e58c0d00d74..8492f13bfa1b8bdc639e2993f7ba04066cff9f74 100644 (file)
@@ -1,4 +1,8 @@
  $Log$
+ Revision 573.26  2000/11/21 11:12:56  error
+  * domain.h: changed the HP/UX compatibility code to use defines from
+    typesize.h for integers of specific bit widths (needed for Solaris, etc)
+
  Revision 573.25  2000/11/12 04:20:49  ajc
  * Optimized server side input of message text
 
@@ -2134,4 +2138,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
-
index e7091b5db9e251dea09bd96c4ccce3147b95c4e9..de70f81749d4e3aa65469d6dec76f35d45ca6a94 100644 (file)
@@ -14,12 +14,14 @@ int getmx(char *mxbuf, char *dest);
 
 /* HP/UX has old include files...these are from arpa/nameser.h */
 
+#include "typesize.h"
+
 #ifndef HFIXEDSZ
 #define HFIXEDSZ       12              /* I hope! */
 #endif
 #ifndef INT16SZ
-#define        INT16SZ         sizeof(int16)
+#define        INT16SZ         sizeof(cit_int16_t)
 #endif
 #ifndef INT32SZ
-#define INT32SZ                sizeof(int32)
+#define INT32SZ                sizeof(cit_int32_t)
 #endif