mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
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.
This commit is contained in:
committed by
Tor Lillqvist
parent
65ef92cea4
commit
7359af948d
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user