mirror of
https://github.com/love2d/love.git
synced 2026-08-18 03:34:23 +02:00
windows.h #defines min/max by default, causing problems with std::[min, max].
--HG-- branch : minor
This commit is contained in:
@@ -65,6 +65,7 @@
|
||||
#if defined(LOVE_WINDOWS)
|
||||
# define LOVE_LEGENDARY_UTF8_ARGV_HACK
|
||||
# define LOVE_LEGENDARY_CONSOLE_IO_HACK
|
||||
# define NOMINMAX
|
||||
#endif
|
||||
|
||||
#endif // LOVE_CONFIG_H
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
* misrepresented as being the original software.
|
||||
* 3. This notice may not be removed or altered from any source distribution.
|
||||
**/
|
||||
|
||||
#include <common/config.h>
|
||||
#include "Font.h"
|
||||
#include <font/GlyphData.h>
|
||||
#include "Quad.h"
|
||||
|
||||
Reference in New Issue
Block a user