Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-26 14:25:39 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-26 14:25:39 +0300
commit4efed2351710e1d726aa869bc5e7a41c0a1cac8b (patch)
treef5866ecc469a9d19b81b781158cc0572f2c68687 /source/blender/blenlib/BLI_winstuff.h
parent7c776bc124dc218e3e663854fb4fcf1e70a56250 (diff)
Use #include "BLI_math.h" instead of _USE_MATH_DEFINES to get M_PI defined.
Diffstat (limited to 'source/blender/blenlib/BLI_winstuff.h')
-rw-r--r--source/blender/blenlib/BLI_winstuff.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_winstuff.h b/source/blender/blenlib/BLI_winstuff.h
index 77d41e2b96a..677974928a4 100644
--- a/source/blender/blenlib/BLI_winstuff.h
+++ b/source/blender/blenlib/BLI_winstuff.h
@@ -32,6 +32,8 @@
#ifndef __WINSTUFF_H__
#define __WINSTUFF_H__
+#ifdef _WIN32
+
#ifndef FREE_WINDOWS
#pragma warning(once: 4761 4305 4244 4018)
#endif
@@ -139,5 +141,7 @@ int BLI_getInstallationDir(char *str);
}
#endif
+#endif
+
#endif /* __WINSTUFF_H__ */