Avoid a compilation error on cygwin

* src/support/fontutils.C:
	Undefine the min and max macros after inclusion of windows.h on cygwin.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15203 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2006-10-03 00:58:53 +00:00
parent 8a9d0934e9
commit 42b65db612

View File

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