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:
Tor Lillqvist
1999-10-04 23:04:34 +00:00
committed by Tor Lillqvist
parent 65ef92cea4
commit 7359af948d
16 changed files with 76 additions and 13 deletions

View File

@@ -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