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:
authorChris Want <cwant@ualberta.ca>2005-11-06 00:09:47 +0300
committerChris Want <cwant@ualberta.ca>2005-11-06 00:09:47 +0300
commit165ed1b1160de14d7348c39acec172873155c0a0 (patch)
tree26fae1d48a5e91ef5a1e59e4dcb37ce0fdb11542 /intern/elbeem
parentffdde59cf1801f6555c7ec1a65a02eb93ef9e2d3 (diff)
Use limits.h and float.h on *bsd instead of values.h.
On this subject (and thanks to GSR for research) on debian the values.h has the following warning: /* This interface is obsolete. New programs should use <limits.h> and/or <float.h> instead of <values.h>. */ Should values.h be used at all?
Diffstat (limited to 'intern/elbeem')
-rw-r--r--intern/elbeem/intern/ntl_vector3dim.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/elbeem/intern/ntl_vector3dim.h b/intern/elbeem/intern/ntl_vector3dim.h
index acda16b3bbb..fb44e454a4d 100644
--- a/intern/elbeem/intern/ntl_vector3dim.h
+++ b/intern/elbeem/intern/ntl_vector3dim.h
@@ -65,8 +65,13 @@ using std::string;
#else // WIN32
+#if defined (__FreeBSD__) || defined (__OpenBSD__)
+#include <limits.h>
+#include <float.h>
+else
// linux etc...
#include <values.h>
+#endif
#endif // WIN32
#endif // __APPLE_CC__