mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
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:
parent
8a9d0934e9
commit
42b65db612
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user