-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathvcconfig.h
More file actions
30 lines (22 loc) · 802 Bytes
/
vcconfig.h
File metadata and controls
30 lines (22 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// This works as "top-level-include" during the VC++ build process.
// GCC specific funtions used throughout the Rave build are defined
// here to generate Visual C++ compatibility.
// Without this, VC++ does not provide M_PI
#define _USE_MATH_DEFINES
// Provide special functions not in the C++ standard, but supplied
// by boost
#include "boost/math/special_functions/fpclassify.hpp"
#define isnan boost::math::isnan
#define isfinite boost::math::isfinite
#define finite isfinite
// This tells the linker to make the marked classes accessible within
// the DLL
#if defined(_MSC_VER)
# define RaveDllExport __declspec(dllexport)
#else
# define RaveDllExport
#endif
// Disable use of GNU extensions
#if defined(_MSC_VER)
# define DISABLE_GNU_EXTENSIONS
#endif