From 32bd2ffe5b7cbd897d767bf25b5c22034de196c1 Mon Sep 17 00:00:00 2001 From: erg Date: Tue, 17 Jul 2007 18:35:02 +0000 Subject: [PATCH] Move definition of GLOB_* above first use. --- lib/gvc/gvconfig.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/gvc/gvconfig.c b/lib/gvc/gvconfig.c index cbaa577eb..f44d8d819 100644 --- a/lib/gvc/gvconfig.c +++ b/lib/gvc/gvconfig.c @@ -23,6 +23,12 @@ #ifdef ENABLE_LTDL #include #ifdef WIN32 +#include +#define GLOB_NOSPACE 1 /* Ran out of memory. */ +#define GLOB_ABORTED 2 /* Read error. */ +#define GLOB_NOMATCH 3 /* No matches found. */ +#define GLOB_NOSORT 4 +#define DMKEY "Software\\Microsoft" //key to look for library dir #include typedef struct { int gl_pathc; /* count of total paths so far */ @@ -561,12 +567,6 @@ void gvconfig(GVC_t * gvc, boolean rescan) #ifdef ENABLE_LTDL #ifdef WIN32 -#include -#define GLOB_NOSPACE 1 /* Ran out of memory. */ -#define GLOB_ABORTED 2 /* Read error. */ -#define GLOB_NOMATCH 3 /* No matches found. */ -#define GLOB_NOSORT 4 -#define DMKEY "Software\\Microsoft" //key to look for library dir /* Emulating windows glob */ -- 2.40.0