mirror of https://github.com/CGAL/cgal
69 lines
1.4 KiB
C++
69 lines
1.4 KiB
C++
// ============================================================================
|
|
//
|
|
// Copyright (c) 1999 The CGAL Consortium
|
|
//
|
|
// ----------------------------------------------------------------------------
|
|
//
|
|
// release :
|
|
// release_date :
|
|
//
|
|
// file : include/CGAL/MSVC_standard_header_fixes.h
|
|
// chapter : $CGAL_Chapter: Configuration $
|
|
//
|
|
// author(s) : Geert-Jan Giezeman <geert@cs.uu.nl>
|
|
//
|
|
// coordinator : Utrecht University
|
|
// ============================================================================
|
|
|
|
#ifndef CGAL_MSVC_STANDARD_HEADER_FIXES_H
|
|
#define CGAL_MSVC_STANDARD_HEADER_FIXES_H
|
|
|
|
#pragma warning(once: 4291)
|
|
#pragma warning(once:4503)
|
|
|
|
#include <cmath>
|
|
namespace std {
|
|
using ::fabs;
|
|
using ::sqrt;
|
|
using ::log;
|
|
using ::cos;
|
|
using ::sin;
|
|
using ::ceil;
|
|
using ::floor;
|
|
}
|
|
#define M_PI 3.14159
|
|
#include <cstddef>
|
|
namespace std{
|
|
using ::size_t;
|
|
using ::ptrdiff_t;
|
|
}
|
|
|
|
#include <cstdlib>
|
|
namespace std{
|
|
using ::abort;
|
|
using ::atoi;
|
|
}
|
|
#include <cstring>
|
|
namespace std{
|
|
using ::strcat;
|
|
using ::strcpy;
|
|
using ::strlen;
|
|
}
|
|
|
|
#include <ctime>
|
|
|
|
namespace std{
|
|
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
|