mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-31 22:23:39 +02:00
Merge branch 'gresource-compiler-2-60' into 'glib-2-60'
glib/gconstructor.h: Include stdlib.h for MSVC builds See merge request GNOME/glib!790
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
#elif defined (_MSC_VER) && (_MSC_VER >= 1500)
|
||||
/* Visual studio 2008 and later has _Pragma */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#define G_HAS_CONSTRUCTORS 1
|
||||
|
||||
/* We do some weird things to avoid the constructors being optimized
|
||||
|
Reference in New Issue
Block a user