diff options
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWin32.cpp | 4 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/unit.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp index 61838dc471f..0cbd3e99c73 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.cpp +++ b/intern/ghost/intern/GHOST_SystemWin32.cpp @@ -1097,10 +1097,10 @@ void GHOST_SystemWin32::putClipboard(GHOST_TInt8 *buffer, bool selection) const GHOST_TUns8* GHOST_SystemWin32::getSystemDir() const { - + return NULL; } GHOST_TUns8* GHOST_SystemWin32::getUserDir() const { - + return NULL; } diff --git a/source/blender/blenkernel/intern/unit.c b/source/blender/blenkernel/intern/unit.c index 9d18c35984b..22dc5a15650 100644 --- a/source/blender/blenkernel/intern/unit.c +++ b/source/blender/blenkernel/intern/unit.c @@ -24,6 +24,9 @@ #include <stdio.h> #include <ctype.h> #include <string.h> +#ifdef WIN32 +#define _USE_MATH_DEFINES +#endif #include <math.h> #include "BLI_winstuff.h" |