Diff for /embedaddon/pcre/pcre_config.c between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2012/02/21 23:50:25 version 1.1.1.3, 2013/07/22 08:25:55
Line 65  Arguments: Line 65  Arguments:
 Returns:           0 if data returned, negative on error  Returns:           0 if data returned, negative on error
 */  */
   
#ifdef COMPILE_PCRE8#if defined COMPILE_PCRE8
 PCRE_EXP_DEFN int PCRE_CALL_CONVENTION  PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
 pcre_config(int what, void *where)  pcre_config(int what, void *where)
#else#elif defined COMPILE_PCRE16
 PCRE_EXP_DEFN int PCRE_CALL_CONVENTION  PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
 pcre16_config(int what, void *where)  pcre16_config(int what, void *where)
   #elif defined COMPILE_PCRE32
   PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
   pcre32_config(int what, void *where)
 #endif  #endif
 {  {
 switch (what)  switch (what)
   {    {
   case PCRE_CONFIG_UTF8:    case PCRE_CONFIG_UTF8:
#if defined COMPILE_PCRE16#if defined COMPILE_PCRE16 || defined COMPILE_PCRE32
   *((int *)where) = 0;    *((int *)where) = 0;
   return PCRE_ERROR_BADOPTION;    return PCRE_ERROR_BADOPTION;
 #else  #else
Line 89  switch (what) Line 92  switch (what)
 #endif  #endif
   
   case PCRE_CONFIG_UTF16:    case PCRE_CONFIG_UTF16:
#if defined COMPILE_PCRE8#if defined COMPILE_PCRE8 || defined COMPILE_PCRE32
   *((int *)where) = 0;
   return PCRE_ERROR_BADOPTION;
 #else
 #if defined SUPPORT_UTF
   *((int *)where) = 1;
 #else
   *((int *)where) = 0;
 #endif
   break;
 #endif
 
   case PCRE_CONFIG_UTF32:
 #if defined COMPILE_PCRE8 || defined COMPILE_PCRE16
   *((int *)where) = 0;    *((int *)where) = 0;
   return PCRE_ERROR_BADOPTION;    return PCRE_ERROR_BADOPTION;
 #else  #else

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>