mirror of https://github.com/GNOME/gimp.git
libgimpbase: fix Win32 import/export of the gimp_foo_version variables
My last "cleanup" of this stuff was obviously completely bogus.
This commit is contained in:
parent
fe20e7b181
commit
a1b69f8f9e
|
@ -31,6 +31,8 @@
|
|||
#include <glib-object.h>
|
||||
#include <glib/gstdio.h>
|
||||
|
||||
#define __GIMP_BASE_C__
|
||||
|
||||
#undef GIMP_DISABLE_DEPRECATED
|
||||
#include "gimpbasetypes.h"
|
||||
|
||||
|
|
|
@ -33,11 +33,11 @@ G_BEGIN_DECLS
|
|||
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
# ifdef GIMP_BASE_COMPILATION
|
||||
# ifdef __GIMP_ENV_C__
|
||||
# define GIMPVAR __declspec(dllexport)
|
||||
# else /* !GIMP_BASE_COMPILATION */
|
||||
# else /* !__GIMP_ENV_C__ */
|
||||
# define GIMPVAR extern __declspec(dllimport)
|
||||
# endif /* !GIMP_BASE_COMPILATION */
|
||||
# endif /* !__GIMP_ENV_C__ */
|
||||
#else /* !G_OS_WIN32 */
|
||||
# define GIMPVAR extern
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue