C++ fixes for gcc3; based on work by Jack J. Woehr <jwoehr@attglobal.net>.

This commit is contained in:
naddy 2002-10-16 00:01:11 +00:00
parent 1a7e60770d
commit 3603e8e9dd
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-include_config_h,v 1.1 2002/10/16 00:01:11 naddy Exp $
--- include/config.h.orig Tue Oct 15 02:49:22 2002
+++ include/config.h Tue Oct 15 02:50:07 2002
@@ -26,7 +26,7 @@
#endif
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8)
#define SP_ANSI_LIB
-#define SP_NO_STD_NAMESPACE
+// #define SP_NO_STD_NAMESPACE
#undef SP_NEW_H_MISSING
#endif

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-lib_URLStorage_cxx,v 1.1 2002/10/16 00:01:11 naddy Exp $
--- lib/URLStorage.cxx.orig Tue Oct 15 02:17:58 2002
+++ lib/URLStorage.cxx Tue Oct 15 02:18:24 2002
@@ -7,6 +7,7 @@
// FIXME This implementation won't work on an EBCDIC machine.
+#include <iostream.h> // ends
#include <strstream.h>
#include "splib.h"
#ifdef WINSOCK