@@ -71,6 +71,9 @@
// Do we have a true stringstream class defined in <sstream>?
#define HAVE_SSTREAM
+// Do we have <new>?
+#define HAVE_NEW
+
// Do we have <io.h>?
#define HAVE_IO_H
#define HAVE_SSTREAM 1
+#define HAVE_NEW 1
#define HAVE_IO_H 1
@@ -195,6 +195,9 @@ $[cdefine HAVE_MINMAX_H]
/* Define if you have the <sstream> header file. */
$[cdefine HAVE_SSTREAM]
+/* Define if you have the <new> header file. */
+$[cdefine HAVE_NEW]
/* Define if you have the <sys/types.h> header file. */
$[cdefine HAVE_SYS_TYPES]
@@ -58,6 +58,10 @@ using namespace std;
#include "fakestringstream.h"
#endif
+#ifdef HAVE_NEW
+#include <new>
+#endif
#include <string>
#ifdef HAVE_NAMESPACE