Fix --disable-builtin configure option
This commit is contained in:
parent
6220e02ebd
commit
f7e0d9441a
10
src/psl.c
10
src/psl.c
|
@ -170,7 +170,17 @@ struct _psl_ctx_st {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* include the PSL data generated by psl-make-dafsa */
|
/* include the PSL data generated by psl-make-dafsa */
|
||||||
|
#if defined(BUILTIN_GENERATOR_LIBICU) || defined(BUILTIN_GENERATOR_LIBIDN2) || defined(BUILTIN_GENERATOR_LIBIDN)
|
||||||
#include "suffixes_dafsa.c"
|
#include "suffixes_dafsa.c"
|
||||||
|
#else
|
||||||
|
static const unsigned char kDafsa[0];
|
||||||
|
static time_t _psl_file_time = 0;
|
||||||
|
static int _psl_nsuffixes = 0;
|
||||||
|
static int _psl_nexceptions = 0;
|
||||||
|
static int _psl_nwildcards = 0;
|
||||||
|
static const char _psl_sha1_checksum[] = "";
|
||||||
|
static const char _psl_filename[] = "";
|
||||||
|
#endif
|
||||||
|
|
||||||
/* references to these PSLs will result in lookups to built-in data */
|
/* references to these PSLs will result in lookups to built-in data */
|
||||||
static const psl_ctx_t
|
static const psl_ctx_t
|
||||||
|
|
Loading…
Reference in New Issue