mirror of
https://github.com/panda3d/panda3d.git
synced 2026-02-15 03:28:48 -06:00
include <new> if available
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -71,6 +71,9 @@
|
||||
// Do we have a true stringstream class defined in <sstream>?
|
||||
#define HAVE_SSTREAM 1
|
||||
|
||||
// Do we have <new>?
|
||||
#define HAVE_NEW 1
|
||||
|
||||
// Do we have <io.h>?
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user