/[pcre]/code/trunk/pcreposix.h
ViewVC logotype

Diff of /code/trunk/pcreposix.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 88 by nigel, Sat Feb 24 21:41:21 2007 UTC revision 89 by nigel, Sat Feb 24 21:41:27 2007 UTC
# Line 105  typedef struct { Line 105  typedef struct {
105    regoff_t rm_eo;    regoff_t rm_eo;
106  } regmatch_t;  } regmatch_t;
107    
108    /* Win32 uses DLL by default; it needs special stuff for exported functions
109    when building PCRE. */
110    
111    #ifndef PCRE_DATA_SCOPE
112    #ifdef _WIN32
113    #  ifdef PCRE_DEFINITION
114    #    ifdef DLL_EXPORT
115    #      define PCRE_DATA_SCOPE __declspec(dllexport)
116    #    endif
117    #  else
118    #    ifndef PCRE_STATIC
119    #      define PCRE_DATA_SCOPE extern __declspec(dllimport)
120    #    endif
121    #  endif
122    #endif
123    #endif
124    
125    /* Otherwise, we use the standard "extern". */
126    
127    #ifndef PCRE_DATA_SCOPE
128    #  ifdef __cplusplus
129    #    define PCRE_DATA_SCOPE     extern "C"
130    #  else
131    #    define PCRE_DATA_SCOPE     extern
132    #  endif
133    #endif
134    
135  /* The functions */  /* The functions */
136    
137  PCRE_DATA_SCOPE int regcomp(regex_t *, const char *, int);  PCRE_DATA_SCOPE int regcomp(regex_t *, const char *, int);

Legend:
Removed from v.88  
changed lines
  Added in v.89

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12