From 33ec516bd45761eba52f4f1e39bf30e7d2f82c24 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Wed, 22 Mar 2006 15:51:06 +0000 Subject: [PATCH] added platform specific configuration file --- include/config.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/config.hpp diff --git a/include/config.hpp b/include/config.hpp new file mode 100644 index 000000000..54041e9b9 --- /dev/null +++ b/include/config.hpp @@ -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 \ No newline at end of file