summaryrefslogtreecommitdiffstats
path: root/libmscgen
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-06-23 19:44:53 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-06-23 19:44:53 (GMT)
commit1fae484ad6abf53cfb3364df173db3522c3e0e29 (patch)
tree5286ffbb09c6506028d5a64925218dfc4377ea97 /libmscgen
parent9d10717c2bc52d953fa3577eaa65914f64298e0c (diff)
downloadDoxygen-1fae484ad6abf53cfb3364df173db3522c3e0e29.zip
Doxygen-1fae484ad6abf53cfb3364df173db3522c3e0e29.tar.gz
Doxygen-1fae484ad6abf53cfb3364df173db3522c3e0e29.tar.bz2
Fixed windows build issue in gd.h
Diffstat (limited to 'libmscgen')
-rw-r--r--libmscgen/gd.h33
1 files changed, 2 insertions, 31 deletions
diff --git a/libmscgen/gd.h b/libmscgen/gd.h
index f768fb5..d6bbebd 100644
--- a/libmscgen/gd.h
+++ b/libmscgen/gd.h
@@ -45,38 +45,9 @@ extern "C" {
the gd sources in a project. */
/* http://gcc.gnu.org/wiki/Visibility */
-#if defined(_WIN32) || defined(CYGWIN) || defined(_WIN32_WCE)
-# ifdef BGDWIN32
-# ifdef NONDLL
-# define BGD_EXPORT_DATA_PROT
-# else
-# ifdef __GNUC__
-# define BGD_EXPORT_DATA_PROT __attribute__ ((dllexport))
-# else
-# define BGD_EXPORT_DATA_PROT __declspec(dllexport)
-# endif
-# endif
-# else
-# ifdef __GNUC__
-# define BGD_EXPORT_DATA_PROT __attribute__ ((dllimport))
-# else
-# define BGD_EXPORT_DATA_PROT __declspec(dllimport)
-# endif
-# endif
-# define BGD_STDCALL __stdcall
-# define BGD_EXPORT_DATA_IMPL
-#else
-# if defined(__GNUC__) || defined(__clang__)
-# define BGD_EXPORT_DATA_PROT __attribute__ ((visibility ("default")))
-# define BGD_EXPORT_DATA_IMPL __attribute__ ((visibility ("hidden")))
-# else
-# define BGD_EXPORT_DATA_PROT
-# define BGD_EXPORT_DATA_IMPL
-# endif
-# define BGD_STDCALL
-#endif
-#define BGD_DECLARE(rt) BGD_EXPORT_DATA_PROT rt BGD_STDCALL
+#define BGD_EXPORT_DATA_PROT
+#define BGD_DECLARE(rt) rt
/* VS2012+ disable keyword macroizing unless _ALLOW_KEYWORD_MACROS is set
We define inline, snprintf, and strcasecmp if they're missing