diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-09-29 15:15:20 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-09-29 15:15:20 +0000 |
commit | d6d606069d6eabb0bdec386face4ef322e878379 (patch) | |
tree | c599c4769e7785d7ec35184c463de81d236f9fe0 /navit/support/wordexp/glob.h | |
parent | b7a53aa08bbab20774ab378c9c704a9a27c64f55 (diff) | |
download | navit-d6d606069d6eabb0bdec386face4ef322e878379.tar.gz |
Add:support_wordexp:Better wordexp emulation on platforms which don't support it
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4797 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/support/wordexp/glob.h')
-rw-r--r-- | navit/support/wordexp/glob.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/support/wordexp/glob.h b/navit/support/wordexp/glob.h index 17f43eb2b..d36ac29e6 100644 --- a/navit/support/wordexp/glob.h +++ b/navit/support/wordexp/glob.h @@ -2,7 +2,6 @@ #define _GLOB_H_ #ifndef HAVE_GLOB -#if defined __MINGW32__ || defined _MSC_VER typedef struct { size_t gl_pathc; /* count of file names */ @@ -13,7 +12,8 @@ typedef struct { int glob(const char *pattern, int flags, int (*errfunc)(const char *epath, int eerrno), glob_t *pglob); void globfree(glob_t *pglob); -#endif /* defined __MINGW32__ || defined _MSC_VER */ +#define GLOB_NOSPACE 1 + #endif #endif /* _GLOB_H_ */ |