mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-07-23 00:47:13 +02:00
Integrate MaxmindDB module.
This commit is contained in:
@@ -0,0 +1,98 @@
|
||||
#ifndef MAXMINDDB_CONFIG_H
|
||||
#define MAXMINDDB_CONFIG_H
|
||||
|
||||
/*
|
||||
* Include file constants
|
||||
*/
|
||||
#cmakedefine HAVE_ARPA_INET_H 1
|
||||
#cmakedefine HAVE_ASSERT_H 1
|
||||
#cmakedefine HAVE_DLFCN_H 1
|
||||
#cmakedefine HAVE_FCNTL_H 1
|
||||
#cmakedefine HAVE_INTTYPES_H 1
|
||||
#cmakedefine HAVE_LIBGEN_H 1
|
||||
#cmakedefine HAVE_MATH_H 1
|
||||
#cmakedefine HAVE_MEMORY_H 1
|
||||
#cmakedefine HAVE_NETDB_H 1
|
||||
#cmakedefine HAVE_NETINET_IN_H 1
|
||||
#cmakedefine HAVE_STDARG_H 1
|
||||
#cmakedefine HAVE_STDBOOL_H 1
|
||||
#cmakedefine HAVE_STDINT_H 1
|
||||
#cmakedefine HAVE_STDIO_H 1
|
||||
#cmakedefine HAVE_STDLIB_H 1
|
||||
#cmakedefine HAVE_STRINGS_H 1
|
||||
#cmakedefine HAVE_STRING_H 1
|
||||
#cmakedefine HAVE_SYS_MMAN_H 1
|
||||
#cmakedefine HAVE_SYS_PARAM_H 1
|
||||
#cmakedefine HAVE_SYS_SOCKET_H 1
|
||||
#cmakedefine HAVE_SYS_STAT_H 1
|
||||
#cmakedefine HAVE_SYS_TIME_H 1
|
||||
#cmakedefine HAVE_SYS_TYPES_H 1
|
||||
#cmakedefine HAVE_UNISTD_H 1
|
||||
|
||||
/*
|
||||
* function definitions
|
||||
*/
|
||||
#cmakedefine HAVE_MALLOC 1
|
||||
#cmakedefine HAVE_MMAP 1
|
||||
#cmakedefine HAVE_OPEN_MEMSTREAM 1
|
||||
|
||||
/*
|
||||
* types and sizes
|
||||
*/
|
||||
#cmakedefine SIZEOF_BOOLEAN @SIZEOF_BOOLEAN@
|
||||
#if SIZEOF_BOOLEAN
|
||||
# define HAVE_BOOLEAN 1
|
||||
#endif
|
||||
|
||||
#cmakedefine SIZEOF_INT128 @SIZEOF_INT128@
|
||||
#if SIZEOF_INT128
|
||||
# define HAVE_INT128 1
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef MMDB_UINT128_USING_MODE
|
||||
/* Define as 1 if we we use unsigned int __atribute__ ((__mode__(TI))) for uint128 values */
|
||||
#if __x86_64__
|
||||
#define MMDB_UINT128_USING_MODE 1
|
||||
#else
|
||||
#define MMDB_UINT128_USING_MODE 0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef MMDB_UINT128_IS_BYTE_ARRAY
|
||||
/* Define as 1 if we don't have an unsigned __int128 type */\
|
||||
#if __x86_64__
|
||||
#undef MMDB_UINT128_IS_BYTE_ARRAY
|
||||
#else
|
||||
#define MMDB_UINT128_IS_BYTE_ARRAY 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "@MM_PACKAGE@"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT "@MM_PACKAGE_BUGREPORT@"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "@MM_PACKAGE_NAME@"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "@MM_PACKAGE_STRING@"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "@MM_PACKAGE_TARNAME@"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL "@MM_PACKAGE_URL@"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "@MM_PACKAGE_VERSION@"
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "@MM_VERSION@"
|
||||
|
||||
#endif /* MAXMINDDB_CONFIG_H */
|
||||
Reference in New Issue
Block a user