mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-07 02:18:35 +00:00
One more hack for submodule.
This commit is contained in:
parent
ac7e4853ca
commit
d8ab02d836
@ -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'),
|
||||
]
|
||||
|
||||
14
extensions/geoip/maxminddb_config.h
Normal file
14
extensions/geoip/maxminddb_config.h
Normal 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 */
|
||||
Loading…
Reference in New Issue
Block a user