Bug 652827: Update config.h.win32.in
authorChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 11 Aug 2011 07:30:48 +0000 (15:30 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 11 Aug 2011 07:30:48 +0000 (15:30 +0800)
commit77a10feafa4f77f1fcadb2ed1fd5da41dced3553
tree8a4cfe6919ee8b41de8aabb7f4ed04a3b68d1fc8
parent349212211247781e7bec43b95cb57dddc1d0e5b1
Bug 652827: Update config.h.win32.in

Add check macro for HAVE_WIN32_BUILTINS_FOR_ATOMIC_OPERATIONS, as it is
now required for MSVC builds of glib/gatomic.c GLib 2.29.15+.

It is true that the MinGW cross-compiler on Linux systems will have
HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS and
HAVE_WIN32_BUILTINS_FOR_ATOMIC_OPERATIONS defined during the completion
of ./configure, but since this file is primarily meant for people
compiling -on- Windows (and that the "native" Windows MinGW would neither
./configure to define HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS and
HAVE_WIN32_BUILTINS_FOR_ATOMIC_OPERATIONS), this file will be updated as
it is for now at least until the situation for "native" Windows MinGW
change. (please see Bug 652827 regarding this paragraph)
config.h.win32.in