diff --git a/include/begin_code.h b/include/begin_code.h index 22748090c..2208a88bd 100644 --- a/include/begin_code.h +++ b/include/begin_code.h @@ -43,7 +43,7 @@ #ifndef DECLSPEC # if defined(__BEOS__) || defined(__HAIKU__) # if defined(__GNUC__) -# define DECLSPEC __declspec(dllexport) +# define DECLSPEC # else # define DECLSPEC __declspec(export) # endif