Commit b3ff0df0 authored by Ell's avatar Ell

Issue #132 - gegl-0.4.14 Windows compilation fails

Test for G_OS_WIN32 *after* including glib headers.
parent ad8aa8f1
Pipeline #71477 failed with stages
in 40 minutes and 32 seconds
......@@ -19,9 +19,6 @@
#include "config.h"
#include <string.h>
#ifdef G_OS_WIN32
#include <windows.h>
#endif
#include <glib-object.h>
#include <glib/gprintf.h>
......@@ -37,6 +34,10 @@
#include <unistd.h>
#endif
#ifdef G_OS_WIN32
#include <windows.h>
#endif
G_DEFINE_TYPE (GeglConfig, gegl_config, G_TYPE_OBJECT)
static GObjectClass * parent_class = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment