Browse Source

add DLLEXPORT definition for __GNUC__ >= 4

pull/17/head
Tony Kelman 10 years ago
parent
commit
6b67865984
  1. 2
      mojibake.h

2
mojibake.h

@ -81,6 +81,8 @@ enum {false, true};
# else
# define DLLEXPORT __declspec(dllimport)
# endif
#elif __GNUC__ >= 4
# define DLLEXPORT __attribute__ ((visibility("default")))
#else
# define DLLEXPORT
#endif

Loading…
Cancel
Save