2008-04-04 Tor Lillqvist <tml@novell.com>
* glibconfig.h.win32.in: Define GLIB_STATIC_COMPILATION here also,
if needed.
svn path=/trunk/; revision=6822
force the developer who compiles against a statically built GLib
to use -DGLIB_STATIC_COMPILATION.
+ * glibconfig.h.win32.in: Define GLIB_STATIC_COMPILATION here also,
+ if needed.
+
2008-04-03 Tor Lillqvist <tml@novell.com>
* configure.in: Don't enforce shared library build only on
fi
if test x$enable_static = xyes; then
glib_win32_static_compilation=yes
+ GLIB_WIN32_STATIC_COMPILATION_DEFINE="#define GLIB_STATIC_COMPILATION 1"
+ AC_SUBST(GLIB_WIN32_STATIC_COMPILATION_DEFINE)
fi
fi
#define G_OS_WIN32
#define G_PLATFORM_WIN32
+@GLIB_WIN32_STATIC_COMPILATION_DEFINE@
#ifndef _MSC_VER
#define G_VA_COPY va_copy