We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89ec2bd commit 0360618Copy full SHA for 0360618
2 files changed
src/rebound.h
@@ -32,6 +32,7 @@
32
#define _LP64 // automatically defined on 64bit Linux and MacOS
33
#endif // _WIN64
34
#ifdef _WIN32
35
+#define _USE_MATH_DEFINES // Windows (MVSC) does not include math constants by default.
36
#define REB_RESTRICT
37
// Windows needs different declarations depending on whether the library is built or used.
38
#ifdef BUILDINGLIBREBOUND
src/rebound_internal.h
@@ -28,7 +28,6 @@
28
29
// Definitions for functions that we need to implement ourselves on Windows.
30
31
-#define _USE_MATH_DEFINES // Windows (MVSC) does not include math constants by default.
#define _NO_CRT_STDIO_INLINE // WIN32 to use _vsprintf_s
#include <WinSock2.h>
#define _WINSOCKAPI_ //stops windows.h including winsock.h
0 commit comments