From 03f908d84bb8fa48ce4893bc350f4dfd84be7213 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 31 Oct 2000 05:51:24 +0000 Subject: [PATCH] Also move the #define for O_BINARY from gutils.c to gfileutils.c. --- gfileutils.c | 4 ++++ glib/gfileutils.c | 4 ++++ glib/gutils.c | 4 ---- gutils.c | 4 ---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gfileutils.c b/gfileutils.c index e983a1d..857e069 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 e983a1d..857e069 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 6cb9141..fac6737 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 6cb9141..fac6737 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; -- 2.7.4