diff --git a/gfileutils.c b/gfileutils.c index e983a1dad..857e069ac 100644 --- a/gfileutils.c +++ b/gfileutils.c @@ -56,6 +56,10 @@ #define S_ISLNK(x) 0 #endif +#ifndef O_BINARY +#define O_BINARY 0 +#endif + #define _(x) x /** diff --git a/glib/gfileutils.c b/glib/gfileutils.c index e983a1dad..857e069ac 100644 --- a/glib/gfileutils.c +++ b/glib/gfileutils.c @@ -56,6 +56,10 @@ #define S_ISLNK(x) 0 #endif +#ifndef O_BINARY +#define O_BINARY 0 +#endif + #define _(x) x /** diff --git a/glib/gutils.c b/glib/gutils.c index 6cb914143..fac67375d 100644 --- a/glib/gutils.c +++ b/glib/gutils.c @@ -76,10 +76,6 @@ #include #endif -#ifndef O_BINARY -#define O_BINARY 0 -#endif - const guint glib_major_version = GLIB_MAJOR_VERSION; const guint glib_minor_version = GLIB_MINOR_VERSION; const guint glib_micro_version = GLIB_MICRO_VERSION; diff --git a/gutils.c b/gutils.c index 6cb914143..fac67375d 100644 --- a/gutils.c +++ b/gutils.c @@ -76,10 +76,6 @@ #include #endif -#ifndef O_BINARY -#define O_BINARY 0 -#endif - const guint glib_major_version = GLIB_MAJOR_VERSION; const guint glib_minor_version = GLIB_MINOR_VERSION; const guint glib_micro_version = GLIB_MICRO_VERSION;