Avoid compile errors due to the min/max macros on mingw, too

* src/support/fontutils.C:
	Undefine the min and max macros if they are defined


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15210 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2006-10-03 12:37:18 +00:00
parent 046c9bb9e3
commit 69d72462b6

View File

@ -25,8 +25,10 @@
#if defined(_WIN32) || (defined(__CYGWIN__) && defined(X_DISPLAY_MISSING)) #if defined(_WIN32) || (defined(__CYGWIN__) && defined(X_DISPLAY_MISSING))
#include "windows.h" #include "windows.h"
#ifdef __CYGWIN__ #ifdef max
#undef max #undef max
#endif
#ifdef min
#undef min #undef min
#endif #endif
#include "support/os.h" #include "support/os.h"