Update of /cvsroot/naviserver/naviserver/nsd
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv759/nsd
Modified Files:
tclmisc.c
Log Message:
Removed plaform testing and added platform-neutral testing for some types
Index: tclmisc.c
===================================================================
RCS file: /cvsroot/naviserver/naviserver/nsd/tclmisc.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** tclmisc.c 20 Oct 2005 15:03:50 -0000 1.14
--- tclmisc.c 22 Oct 2005 09:32:14 -0000 1.15
***************
*** 592,600 ****
static char hexChars[] = "0123456789ABCDEF";
! #ifndef __APPLE__
typedef unsigned int u_int32_t;
typedef unsigned char u_int8_t;
#endif
/*** FROM sha.h: ***/
--- 592,604 ----
static char hexChars[] = "0123456789ABCDEF";
! #ifndef HAVE_U_INT32_T
typedef unsigned int u_int32_t;
+ #endif
+
+ #ifndef HAVE_U_INT8_T
typedef unsigned char u_int8_t;
#endif
+
/*** FROM sha.h: ***/
|