mirror of
https://github.com/love2d/love.git
synced 2026-08-20 12:40:20 +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)
|
#if defined(LOVE_WINDOWS)
|
||||||
# define LOVE_LEGENDARY_UTF8_ARGV_HACK
|
# define LOVE_LEGENDARY_UTF8_ARGV_HACK
|
||||||
# define LOVE_LEGENDARY_CONSOLE_IO_HACK
|
# define LOVE_LEGENDARY_CONSOLE_IO_HACK
|
||||||
|
# define NOMINMAX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // LOVE_CONFIG_H
|
#endif // LOVE_CONFIG_H
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* misrepresented as being the original software.
|
* misrepresented as being the original software.
|
||||||
* 3. This notice may not be removed or altered from any source distribution.
|
* 3. This notice may not be removed or altered from any source distribution.
|
||||||
**/
|
**/
|
||||||
|
#include <common/config.h>
|
||||||
#include "Font.h"
|
#include "Font.h"
|
||||||
#include <font/GlyphData.h>
|
#include <font/GlyphData.h>
|
||||||
#include "Quad.h"
|
#include "Quad.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user