/[pcre]/code/branches/pcre16/pcre_config.c
ViewVC logotype

Diff of /code/branches/pcre16/pcre_config.c

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

revision 804 by zherczeg, Thu Dec 8 07:36:41 2011 UTC revision 805 by ph10, Wed Dec 14 16:49:20 2011 UTC
# Line 73  pcre16_config(int what, void *where) Line 73  pcre16_config(int what, void *where)
73  switch (what)  switch (what)
74    {    {
75    case PCRE_CONFIG_UTF8:    case PCRE_CONFIG_UTF8:
76  #if defined SUPPORT_UTF && defined COMPILE_PCRE8  #if defined COMPILE_PCRE16
77      return PCRE_ERROR_BADOPTION;
78    #else
79    #if defined SUPPORT_UTF
80    *((int *)where) = 1;    *((int *)where) = 1;
81  #else  #else
82    *((int *)where) = 0;    *((int *)where) = 0;
83  #endif  #endif
84    break;    break;
85    #endif
86    
87    case PCRE_CONFIG_UTF16:    case PCRE_CONFIG_UTF16:
88  #if defined SUPPORT_UTF && defined COMPILE_PCRE16  #if defined COMPILE_PCRE8
89      return PCRE_ERROR_BADOPTION;
90    #else
91    #if defined SUPPORT_UTF
92    *((int *)where) = 1;    *((int *)where) = 1;
93  #else  #else
94    *((int *)where) = 0;    *((int *)where) = 0;
95  #endif  #endif
96    break;    break;
97    #endif
98    
99    case PCRE_CONFIG_UNICODE_PROPERTIES:    case PCRE_CONFIG_UNICODE_PROPERTIES:
100  #ifdef SUPPORT_UCP  #ifdef SUPPORT_UCP

Legend:
Removed from v.804  
changed lines
  Added in v.805

  ViewVC Help
Powered by ViewVC 1.1.5