test wstring
This commit is contained in:
parent
1e1aa28735
commit
36bec1e8d7
|
|
@ -79,6 +79,10 @@
|
|||
// umask?
|
||||
#define HAVE_OPEN_MASK 1
|
||||
|
||||
// Does <string> define the typedef wstring? Most do, but for some
|
||||
// reason, versions of gcc before 3.0 didn't do this.
|
||||
#define HAVE_WSTRING 1
|
||||
|
||||
// Do we have <new>?
|
||||
#define HAVE_NEW
|
||||
|
||||
|
|
|
|||
|
|
@ -82,6 +82,10 @@
|
|||
// umask? Versions of gcc prior to 3.2 had this.
|
||||
#define HAVE_OPEN_MASK
|
||||
|
||||
// Does <string> define the typedef wstring? Most do, but for some
|
||||
// reason, versions of gcc before 3.0 didn't do this.
|
||||
#define HAVE_WSTRING 1
|
||||
|
||||
// Do we have <new>?
|
||||
#define HAVE_NEW 1
|
||||
|
||||
|
|
|
|||
|
|
@ -82,6 +82,10 @@
|
|||
// umask?
|
||||
#define HAVE_OPEN_MASK
|
||||
|
||||
// Does <string> define the typedef wstring? Most do, but for some
|
||||
// reason, versions of gcc before 3.0 didn't do this.
|
||||
#define HAVE_WSTRING 1
|
||||
|
||||
// Do we have <new>?
|
||||
#define HAVE_NEW 1
|
||||
|
||||
|
|
|
|||
|
|
@ -137,6 +137,9 @@ $[cdefine HAVE_NAMESPACE]
|
|||
/* Define if fstream::open() accepts a third parameter for umask. */
|
||||
$[cdefine HAVE_OPEN_MASK]
|
||||
|
||||
/* Define if the <string> header file defines wstring. */
|
||||
$[cdefine HAVE_WSTRING]
|
||||
|
||||
/* Define if the C++ compiler supports the typename keyword. */
|
||||
$[cdefine HAVE_TYPENAME]
|
||||
|
||||
|
|
|
|||
|
|
@ -80,10 +80,15 @@ using namespace std;
|
|||
#define TYPENAME
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_WSTRING
|
||||
// Some C++ libraries (gcc 2.95) don't define this.
|
||||
typedef basic_string<wchar_t> wstring;
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STREAMSIZE
|
||||
// Some compilers (notably SGI) don't define this for us
|
||||
// Some C++ libraries (Irix) don't define this.
|
||||
typedef int streamsize;
|
||||
#endif /* HAVE_STREAMSIZE */
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_IOS_TYPEDEFS
|
||||
typedef int ios_openmode;
|
||||
|
|
|
|||
Loading…
Reference in New Issue