mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
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:
parent
046c9bb9e3
commit
69d72462b6
@ -25,8 +25,10 @@
|
||||
|
||||
#if defined(_WIN32) || (defined(__CYGWIN__) && defined(X_DISPLAY_MISSING))
|
||||
#include "windows.h"
|
||||
#ifdef __CYGWIN__
|
||||
#ifdef max
|
||||
#undef max
|
||||
#endif
|
||||
#ifdef min
|
||||
#undef min
|
||||
#endif
|
||||
#include "support/os.h"
|
||||
|
Loading…
Reference in New Issue
Block a user