Removed #define __STDC_LIMIT_MACROS needed for C++ < 11

See http://bugs.openfoam.org/view.php?id=1474
This commit is contained in:
Henry Weller
2016-10-04 08:08:42 +01:00
parent 3a058e9562
commit dee0264768
8 changed files with 6 additions and 17 deletions

View File

@ -41,8 +41,6 @@ SourceFiles
#ifndef conformalVoronoiMesh_H #ifndef conformalVoronoiMesh_H
#define conformalVoronoiMesh_H #define conformalVoronoiMesh_H
// Include uint.H before CGAL headers to define __STDC_LIMIT_MACROS
#include "uint.H"
#include "CGALTriangulation3Ddefs.H" #include "CGALTriangulation3Ddefs.H"
#include "searchableSurfaces.H" #include "searchableSurfaces.H"
#include "conformationSurfaces.H" #include "conformationSurfaces.H"

View File

@ -39,8 +39,6 @@ SourceFiles
#ifndef featurePointConformer_H #ifndef featurePointConformer_H
#define featurePointConformer_H #define featurePointConformer_H
// Include uint.H before CGAL headers to define __STDC_LIMIT_MACROS
#include "uint.H"
#include "CGALTriangulation3Ddefs.H" #include "CGALTriangulation3Ddefs.H"
#include "vector.H" #include "vector.H"
#include "DynamicList.H" #include "DynamicList.H"

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -117,8 +117,6 @@ SourceFiles
#define CGAL_INEXACT #define CGAL_INEXACT
#define CGAL_HIERARCHY #define CGAL_HIERARCHY
// Include uint.H before CGAL headers to define __STDC_LIMIT_MACROS
#include "uint.H"
#include "CGALTriangulation2Ddefs.H" #include "CGALTriangulation2Ddefs.H"
#include "Time.H" #include "Time.H"
#include "point2DFieldFwd.H" #include "point2DFieldFwd.H"

View File

@ -33,8 +33,7 @@ Description
#ifndef direction_H #ifndef direction_H
#define direction_H #define direction_H
#define __STDC_LIMIT_MACROS #include <cstdint>
#include <stdint.h>
#include <iostream> #include <iostream>
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -36,8 +36,7 @@ SourceFiles
#ifndef int32_H #ifndef int32_H
#define int32_H #define int32_H
#define __STDC_LIMIT_MACROS #include <cstdint>
#include <stdint.h>
#include <climits> #include <climits>
#include <cstdlib> #include <cstdlib>

View File

@ -36,8 +36,7 @@ SourceFiles
#ifndef int64_H #ifndef int64_H
#define int64_H #define int64_H
#define __STDC_LIMIT_MACROS #include <cstdint>
#include <stdint.h>
#include <climits> #include <climits>
#include <cstdlib> #include <cstdlib>

View File

@ -36,8 +36,7 @@ SourceFiles
#ifndef uint32_H #ifndef uint32_H
#define uint32_H #define uint32_H
#define __STDC_LIMIT_MACROS #include <cstdint>
#include <stdint.h>
#include <climits> #include <climits>
#include <cstdlib> #include <cstdlib>

View File

@ -36,8 +36,7 @@ SourceFiles
#ifndef uint64_H #ifndef uint64_H
#define uint64_H #define uint64_H
#define __STDC_LIMIT_MACROS #include <cstdint>
#include <stdint.h>
#include <climits> #include <climits>
#include <cstdlib> #include <cstdlib>