/[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 145 by ph10, Wed Apr 4 14:06:52 2007 UTC revision 332 by ph10, Sat Apr 5 16:11:05 2008 UTC
# Line 9  Line 9 
9  Compatible Regular Expression library. It defines the things POSIX says should  Compatible Regular Expression library. It defines the things POSIX says should
10  be there. I hope.  be there. I hope.
11    
12              Copyright (c) 1997-2007 University of Cambridge              Copyright (c) 1997-2008 University of Cambridge
13    
14  -----------------------------------------------------------------------------  -----------------------------------------------------------------------------
15  Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
# Line 59  extern "C" { Line 59  extern "C" {
59  #define REG_DOTALL    0x0010   /* NOT defined by POSIX. */  #define REG_DOTALL    0x0010   /* NOT defined by POSIX. */
60  #define REG_NOSUB     0x0020  #define REG_NOSUB     0x0020
61  #define REG_UTF8      0x0040   /* NOT defined by POSIX. */  #define REG_UTF8      0x0040   /* NOT defined by POSIX. */
62    #define REG_STARTEND  0x0080   /* BSD feature: pass subject string by so,eo */
63    
64  /* This is not used by PCRE, but by defining it we make it easier  /* This is not used by PCRE, but by defining it we make it easier
65  to slot PCRE into existing programs that make POSIX calls. */  to slot PCRE into existing programs that make POSIX calls. */
# Line 107  typedef struct { Line 108  typedef struct {
108    
109  /* When an application links to a PCRE DLL in Windows, the symbols that are  /* When an application links to a PCRE DLL in Windows, the symbols that are
110  imported have to be identified as such. When building PCRE, the appropriate  imported have to be identified as such. When building PCRE, the appropriate
111  export settings are needed. */  export settings are needed, and are set in pcreposix.c before including this
112    file. */
113    
114  #ifdef _WIN32  #if defined(_WIN32) && !defined(PCRE_STATIC) && !defined(PCREPOSIX_EXP_DECL)
115  #  ifndef PCREPOSIX_STATIC  #  define PCREPOSIX_EXP_DECL  extern __declspec(dllimport)
116  #    define PCREPOSIX_EXP_DECL extern __declspec(dllimport)  #  define PCREPOSIX_EXP_DEFN  __declspec(dllimport)
 #    define PCREPOSIX_EXP_DEFN  __declspec(dllimport)  
 #  endif  
117  #endif  #endif
118    
119  /* By default, we use the standard "extern" declarations. */  /* By default, we use the standard "extern" declarations. */

Legend:
Removed from v.145  
changed lines
  Added in v.332

  ViewVC Help
Powered by ViewVC 1.1.5