mirror of https://github.com/CGAL/cgal
Added workarounds for isalnum, isdigit and isspace.
This commit is contained in:
parent
0a5e0f0a94
commit
fca8eeb22b
|
|
@ -33,26 +33,34 @@ namespace std {
|
|||
#define M_PI 3.14159
|
||||
#include <cstddef>
|
||||
namespace std{
|
||||
using ::size_t;
|
||||
using ::ptrdiff_t;
|
||||
using ::size_t;
|
||||
using ::ptrdiff_t;
|
||||
}
|
||||
|
||||
#include <cstdlib>
|
||||
namespace std{
|
||||
using ::abort;
|
||||
using ::atoi;
|
||||
using ::abort;
|
||||
using ::atoi;
|
||||
}
|
||||
#include <cstring>
|
||||
namespace std{
|
||||
using ::strcat;
|
||||
using ::strcpy;
|
||||
using ::strcat;
|
||||
using ::strcpy;
|
||||
}
|
||||
|
||||
#include <ctime>
|
||||
|
||||
namespace std{
|
||||
using ::clock;
|
||||
using ::clock_t;
|
||||
using ::clock;
|
||||
using ::clock_t;
|
||||
}
|
||||
|
||||
#include <cctype> // this should go away as soon as CGAL is made <locale>
|
||||
// compliant.
|
||||
namespace std{ // to provide replacements...
|
||||
using ::isalnum;
|
||||
using ::isdigit;
|
||||
using ::isspace;
|
||||
}
|
||||
|
||||
#endif // CGAL_MSVC_STANDARD_HEADER_FIXES_H
|
||||
|
|
|
|||
Loading…
Reference in New Issue