SheafSystem
0.0.0.0
std_cmath.h
1
2
//
3
// Copyright (c) 2014 Limit Point Systems, Inc.
4
//
5
// Licensed under the Apache License, Version 2.0 (the "License");
6
// you may not use this file except in compliance with the License.
7
// You may obtain a copy of the License at
8
//
9
// http://www.apache.org/licenses/LICENSE-2.0
10
//
11
// Unless required by applicable law or agreed to in writing, software
12
// distributed under the License is distributed on an "AS IS" BASIS,
13
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
// See the License for the specific language governing permissions and
15
// limitations under the License.
16
//
17
18
#ifndef STD_CMATH_H
19
#define STD_CMATH_H
20
21
#define HAVE_CMATH 1
22
23
#if HAVE_CMATH
24
25
#ifdef _WIN32
26
27
// We're compiling with MS C++;
28
// try to ensure M_PI and other constants defined.
29
// This won't work if <cmath> has already been included
30
// by some other path. In that case, client needs to
31
// define _USE_MATH_DEFINES in .cc file before
32
// any includes.
33
34
#define _USE_MATH_DEFINES
35
36
#endif // _WIN32
37
38
#include <cmath>
39
#else
40
41
#include <math.h>
42
43
#endif
44
45
#endif // STD_CMATH_H
include
SheafSystem
std_cmath.h
Generated on Sun Jul 9 2017 14:27:45 for SheafSystem by
1.8.13