One more hack for submodule.

This commit is contained in:
Nick Hastings 2018-11-11 10:52:10 -05:00
parent ac7e4853ca
commit d8ab02d836
2 changed files with 15 additions and 0 deletions

View File

@ -12,6 +12,7 @@ for arch in SM.archs:
binary.compiler.postlink += ['ws2_32.lib']
binary.compiler.includes += [
os.path.join(builder.sourcePath, 'extensions', 'geoip'),
os.path.join(builder.sourcePath, 'extensions', 'geoip', 'libmaxminddb', 'include'),
os.path.join(builder.sourcePath, 'extensions', 'geoip', 'libmaxminddb', 'src'),
]

View File

@ -0,0 +1,14 @@
#ifndef MAXMINDDB_CONFIG_H
#define MAXMINDDB_CONFIG_H
#ifndef MMDB_UINT128_USING_MODE
/* Define as 1 if we we use unsigned int __atribute__ ((__mode__(TI))) for uint128 values */
#define MMDB_UINT128_USING_MODE 0
#endif
#ifndef MMDB_UINT128_IS_BYTE_ARRAY
/* Define as 1 if we don't have an unsigned __int128 type */
#define MMDB_UINT128_IS_BYTE_ARRAY 1
#endif
#endif /* MAXMINDDB_CONFIG_H */