mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-25 19:37:52 +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
@@ -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