X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=cgisimple.c;h=71e746d22ef015a2138df72f02c60f2e83e5b156;hb=b07b885758e3dc19521026b33bccdf870ffbf454;hp=07017022766bd2870ffe0a456336b27c7bd562ee;hpb=68b650b4265d93d1e1bbbbe7726c84df39e53d0e;p=privoxy.git diff --git a/cgisimple.c b/cgisimple.c index 07017022..71e746d2 100644 --- a/cgisimple.c +++ b/cgisimple.c @@ -1,4 +1,4 @@ -const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.118 2012/12/07 12:45:20 fabiankeil Exp $"; +const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.120 2013/01/26 13:30:20 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $ @@ -1650,6 +1650,12 @@ static jb_err show_defines(struct map *exports) if (!err) err = map_conditional(exports, "FEATURE_STATISTICS", 0); #endif /* ndef FEATURE_STATISTICS */ +#ifdef FEATURE_STRPTIME_SANITY_CHECKS + if (!err) err = map_conditional(exports, "FEATURE_STRPTIME_SANITY_CHECKS", 1); +#else /* ifndef FEATURE_STRPTIME_SANITY_CHECKS */ + if (!err) err = map_conditional(exports, "FEATURE_STRPTIME_SANITY_CHECKS", 0); +#endif /* ndef FEATURE_STRPTIME_SANITY_CHECKS */ + #ifdef FEATURE_TOGGLE if (!err) err = map_conditional(exports, "FEATURE_TOGGLE", 1); #else /* ifndef FEATURE_TOGGLE */ @@ -1674,12 +1680,6 @@ static jb_err show_defines(struct map *exports) if (!err) err = map_conditional(exports, "STATIC_PCRE", 0); #endif /* ndef STATIC_PCRE */ -#ifdef STATIC_PCRS - if (!err) err = map_conditional(exports, "STATIC_PCRS", 1); -#else /* ifndef STATIC_PCRS */ - if (!err) err = map_conditional(exports, "STATIC_PCRS", 0); -#endif /* ndef STATIC_PCRS */ - return err; }