We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cbf3de7 + 7bca6fb commit 4207933Copy full SHA for 4207933
glib/sys/tests/manual.h
@@ -3,6 +3,23 @@
3
#include <glib.h>
4
#include <glib-object.h>
5
6
+#ifndef G_PLATFORM_WIN32
7
+// glib-unix.h is not included automatically
8
+#include <glib-unix.h>
9
+// polyfill the WIN32 constants on non-Win32 platforms
10
+typedef enum
11
+{
12
+ G_WIN32_OS_ANY,
13
+ G_WIN32_OS_WORKSTATION,
14
+ G_WIN32_OS_SERVER,
15
+} GWin32OSType;
16
+#endif
17
+
18
+// polyfill when the platform doesn't define tracing macros
19
+#ifndef G_TRACE_CURRENT_TIME
20
+#define G_TRACE_CURRENT_TIME 0
21
22
23
// included in Gir on all platforms even though it is only present on windows
24
#ifndef G_WIN32_MSG_HANDLE
25
#define G_WIN32_MSG_HANDLE 19981206
0 commit comments