coar 99/08/06 15:16:05
Modified: src Configure src/ap ap_snprintf.c Log: Put in fixes for Tandem compilation. Submitted by: Michael Ottati <[EMAIL PROTECTED]> Reviewed by: Ken Coar Revision Changes Path 1.366 +1 -1 apache-1.3/src/Configure Index: Configure =================================================================== RCS file: /home/cvs/apache-1.3/src/Configure,v retrieving revision 1.365 retrieving revision 1.366 diff -u -r1.365 -r1.366 --- Configure 1999/08/02 10:45:29 1.365 +++ Configure 1999/08/06 22:15:54 1.366 @@ -742,7 +742,7 @@ ;; *-tandem-oss) OS='Tandem OSS' - CFLAGS="-D_TANDEM_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -g" + CFLAGS="-D_TANDEM_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" CC='c89' ;; *) # default: Catch systems we don't know about 1.35 +5 -0 apache-1.3/src/ap/ap_snprintf.c Index: ap_snprintf.c =================================================================== RCS file: /home/cvs/apache-1.3/src/ap/ap_snprintf.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- ap_snprintf.c 1999/05/23 16:55:29 1.34 +++ ap_snprintf.c 1999/08/06 22:15:59 1.35 @@ -89,7 +89,12 @@ typedef WIDE_INT wide_int; typedef unsigned WIDE_INT u_wide_int; typedef WIDEST_INT widest_int; +#ifdef __TANDEM +/* Although Tandem supports "long long" there is no unsigned variant. */ +typedef unsigned long u_widest_int; +#else typedef unsigned WIDEST_INT u_widest_int; +#endif typedef int bool_int; #define S_NULL "(null)"