NOMINMAX fix ...

This commit is contained in:
curt
2002-12-02 22:12:22 +00:00
parent 2e17b28994
commit 2fb961c922
3 changed files with 6 additions and 6 deletions

View File

@@ -216,6 +216,7 @@ else
echo Win32 specific hacks...
AC_DEFINE([WIN32], 1, [Define for Win32 platforms])
AC_DEFINE([NOMINMAX], 1, [Define for Win32 platforms])
dnl just define these to true and hope for the best
ac_cv_lib_glut_glutGetModifiers="yes"

View File

@@ -141,12 +141,6 @@
# define STL_STDEXCEPT <stdexcept>
# define STL_STRING <string>
# define STL_STRSTREAM <strstream>
# ifdef WIN32
// keep windows.h from #defining min() max() macros
# define NOMINMAX
#endif
# else
# error Time to upgrade. GNU compilers < 2.7 not supported
# endif

View File

@@ -49,6 +49,11 @@ typedef vector < int > int_list;
typedef int_list::iterator int_list_iterator;
typedef int_list::const_iterator const_int_list_iterator;
/** STL vector list of doubles */
typedef vector < double > double_list;
typedef double_list::iterator double_list_iterator;
typedef double_list::const_iterator const_double_list_iterator;
/** STL vector list of Point3D */
typedef vector < Point3D > point_list;
typedef point_list::iterator point_list_iterator;