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:
authorJoshua Leung <aligorith@gmail.com>2007-12-11 02:25:21 +0300
committerJoshua Leung <aligorith@gmail.com>2007-12-11 02:25:21 +0300
commitdbb13c07cc64ae087d4eaace76df9d65c1034867 (patch)
tree9ae678356fcdce4a3f244a3ecbb480433905c696 /source/blender/blenlib/BLI_arithb.h
parentbe354c3d095c78b36f8324aa270126611d607c25 (diff)
Fixing compiler warnings:
* BLI_arithb.h - isnan definition is only needed for MSVC, but gcc/mingw complains about it * file-selectors - moved BLI_storage_types.h or sys/stat.h includes before BLI_winstuff.h includes, to silence warnings about S_ISDIR.
Diffstat (limited to 'source/blender/blenlib/BLI_arithb.h')
-rw-r--r--source/blender/blenlib/BLI_arithb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_arithb.h b/source/blender/blenlib/BLI_arithb.h
index 1e86f8fe5b3..54999b1f72b 100644
--- a/source/blender/blenlib/BLI_arithb.h
+++ b/source/blender/blenlib/BLI_arithb.h
@@ -55,7 +55,9 @@ extern "C" {
#endif
#ifdef WIN32
- #define isnan(n) _isnan(n)
+ #ifndef FREE_WINDOWS
+ #define isnan(n) _isnan(n)
+ #endif
#endif
#define MAT4_UNITY {{ 1.0, 0.0, 0.0, 0.0},\