mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
best practice: lways define NOMINMAX when including windows.h
This commit is contained in:
parent
f66fe78c03
commit
6c8a8007e4
@ -24,6 +24,7 @@
|
||||
#include <stdexcept>
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#define NOMINMAX
|
||||
#include <windows.h>
|
||||
#define handle HMODULE
|
||||
#define dlsym GetProcAddress
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
#include <mapnik/utils.hpp>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#define NOMINMAX
|
||||
#include <windows.h>
|
||||
|
||||
namespace mapnik {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user