Fix unix builds that need the included regex.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1666 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
Needed before use in UQM:
|
Needed before use in UQM:
|
||||||
- documentation
|
- documentation
|
||||||
- configuring for HAVE_REGEX and GLOB
|
- configuring for GLOB
|
||||||
- when doing uio_getStdioPhysical(), if write access is required, but
|
- when doing uio_getStdioPhysical(), if write access is required, but
|
||||||
not available on the original location, also copy the file to the
|
not available on the original location, also copy the file to the
|
||||||
temporary dir.
|
temporary dir.
|
||||||
@@ -122,3 +122,4 @@ Cleanups (not necessary for UQM):
|
|||||||
- Clean up the include structure
|
- Clean up the include structure
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -52,11 +52,6 @@ typedef int match_Result;
|
|||||||
#define match_ECUSTOM -3
|
#define match_ECUSTOM -3
|
||||||
#define match_ENOTINIT -4
|
#define match_ENOTINIT -4
|
||||||
|
|
||||||
#include <sys/types.h>
|
|
||||||
#ifdef HAVE_REGEX
|
|
||||||
# include <regex.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef struct match_LitteralContext match_LitteralContext;
|
typedef struct match_LitteralContext match_LitteralContext;
|
||||||
typedef struct match_PrefixContext match_PrefixContext;
|
typedef struct match_PrefixContext match_PrefixContext;
|
||||||
typedef struct match_SuffixContext match_SuffixContext;
|
typedef struct match_SuffixContext match_SuffixContext;
|
||||||
@@ -80,6 +75,11 @@ void match_freeContext(match_MatchContext *context);
|
|||||||
/* *** Internal definitions follow *** */
|
/* *** Internal definitions follow *** */
|
||||||
#ifdef uio_INTERNAL
|
#ifdef uio_INTERNAL
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#ifdef HAVE_REGEX
|
||||||
|
# include <regex.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "uioport.h"
|
#include "uioport.h"
|
||||||
|
|
||||||
struct match_MatchContext {
|
struct match_MatchContext {
|
||||||
|
|||||||
Reference in New Issue
Block a user