Skip to content

Commit f1c9b59

Browse files
committed
sys: add a few extra preprocessor bits to fix abi tests
1 parent cb43878 commit f1c9b59

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

gio/sys/tests/manual.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@
1111
#include <gio/gunixmounts.h>
1212
#include <gio/gunixoutputstream.h>
1313
#include <gio/gunixsocketaddress.h>
14+
#define G_SETTINGS_ENABLE_BACKEND 1
15+
#include <gio/gsettingsbackend.h>

glib/sys/tests/manual.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@
22

33
#include <glib.h>
44
#include <glib-object.h>
5+
6+
// included in Gir on all platforms even though it is only present on windows
7+
#ifndef G_WIN32_MSG_HANDLE
8+
#define G_WIN32_MSG_HANDLE 19981206
9+
#endif

0 commit comments

Comments
 (0)