diff options
author | Tor Lillqvist <tml@iki.fi> | 1999-10-04 23:04:34 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 1999-10-04 23:04:34 +0000 |
commit | 7359af948d26f35b3d57dd4b4a482edd117c23f7 (patch) | |
tree | c49babe79f95f4fb79a705f883d23a0ac1ebf2ba /gmodule | |
parent | 65ef92cea45e23c6133d5386ac2c66dbb77d276a (diff) | |
download | glib-7359af948d26f35b3d57dd4b4a482edd117c23f7.tar.gz |
Don't define WIN32 and NATIVE_WIN32.
1999-10-05 Tor Lillqvist <tml@iki.fi>
* glibconfig.h.win32.in: Don't define WIN32 and NATIVE_WIN32.
* gerror.c (g_on_error_query): (Win32) Slightly more verbosity.
* build-dll: Don't strip.
* gmodule.h: (Win32) Use __declspec(dllexport) in G_MODULE_EXPORT
only with gcc.
Diffstat (limited to 'gmodule')
-rw-r--r-- | gmodule/ChangeLog | 5 | ||||
-rw-r--r-- | gmodule/gmodule.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gmodule/ChangeLog b/gmodule/ChangeLog index 003914627..26ba0ea80 100644 --- a/gmodule/ChangeLog +++ b/gmodule/ChangeLog @@ -1,3 +1,8 @@ +1999-10-05 Tor Lillqvist <tml@iki.fi> + + * gmodule.h: (Win32) Use __declspec(dllexport) in G_MODULE_EXPORT + only with gcc. + Sun Oct 3 19:30:52 PDT 1999 Manish Singh <yosh@gimp.org> * gmodule.h diff --git a/gmodule/gmodule.h b/gmodule/gmodule.h index f4914013a..536a3c691 100644 --- a/gmodule/gmodule.h +++ b/gmodule/gmodule.h @@ -40,7 +40,7 @@ extern const char *g_log_domain_gmodule; * to feature Windows dll stubs. */ #define G_MODULE_IMPORT extern -#ifdef G_OS_WIN32 +#if defined (G_OS_WIN32) && defined (__GNUC__) # define G_MODULE_EXPORT __declspec(dllexport) #else /* !G_OS_WIN32 */ # define G_MODULE_EXPORT |