summaryrefslogtreecommitdiff
path: root/gmodule/gmodule.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>1999-10-31 12:15:34 +0000
committerTor Lillqvist <tml@src.gnome.org>1999-10-31 12:15:34 +0000
commit30cc3ed1fe251c3b5ee477152645884849037af0 (patch)
tree57cc5d0d64b525b0eba3b8a942cfbf829534effb /gmodule/gmodule.h
parenta2760140c83d32887a0f3f16cd2a49fd2a3adb59 (diff)
Don't crash if removing a nonexistent value.
1999-10-31 Tor Lillqvist <tml@iki.fi> * gcache.c (g_cache_remove): Don't crash if removing a nonexistent value. * gutils.c (gwin_getlocale): New Win32-specific function, returns a Unixish current locale string (en, zh_TW etc). * glib.h: Declare it. * glib.def: Export it. * testglib.c: Test it. * gmessages.c (Win32: ensure_stdout_valid): Some improvements, make sure we don't call AllocConsole several times, which I think has happened.
Diffstat (limited to 'gmodule/gmodule.h')
-rw-r--r--gmodule/gmodule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmodule/gmodule.h b/gmodule/gmodule.h
index 536a3c691..f8b835548 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
-#if defined (G_OS_WIN32) && defined (__GNUC__)
+#if defined (G_OS_WIN32)
# define G_MODULE_EXPORT __declspec(dllexport)
#else /* !G_OS_WIN32 */
# define G_MODULE_EXPORT