added platform specific configuration file
This commit is contained in:
parent
f2ac0a97f6
commit
33ec516bd4
1 changed files with 14 additions and 0 deletions
14
include/config.hpp
Normal file
14
include/config.hpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
#ifndef CONFIG_HPP
|
||||
#define CONFIG_HPP
|
||||
|
||||
// Window DLL support
|
||||
|
||||
#ifdef _WINDOWS
|
||||
# define MAPNIK_DECL __declspec (dllexport)
|
||||
# pragma warning( disable: 4251 )
|
||||
# pragma warning( disable: 4275 )
|
||||
#else
|
||||
# define MAPNIK_DECL
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue