added platform specific configuration file

This commit is contained in:
Artem Pavlenko 2006-03-22 15:51:06 +00:00
parent f2ac0a97f6
commit 33ec516bd4

14
include/config.hpp Normal file
View 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