]> granicus.if.org Git - postgresql/commitdiff
Reverse out yesterday's patch from Horak Daniel, since
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Jan 1999 21:44:46 +0000 (21:44 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Jan 1999 21:44:46 +0000 (21:44 +0000)
it fails to compile on any machine without a <features.h> header.
If this header is actually necessary on Windows, perhaps an #if test
is in order.

src/backend/port/snprintf.c

index 2d6215decd5b52850b92bd0cc19ffc66a35d08d2..b2646a6d581b387396bc5e3c4bb5b48465e4a36d 100644 (file)
@@ -36,7 +36,6 @@
 #include "pathnames.h"
 #endif
 
-#include <features.h>
 #include "postgres.h"
 
 #include "regex/cdefs.h"
@@ -74,7 +73,7 @@ typedef unsigned long long ulong_long;
  * causing nast effects.
  **************************************************************/
 
-/*static char _id[] = "$Id: snprintf.c,v 1.17 1999/01/17 06:18:33 momjian Exp $";*/
+/*static char _id[] = "$Id: snprintf.c,v 1.18 1999/01/17 21:44:46 tgl Exp $";*/
 static char *end;
 static int     SnprfOverflow;