Fix building

This commit is contained in:
laggykiller 2025-08-26 12:18:05 +08:00
parent 52d5a50164
commit de925eba74
No known key found for this signature in database

View file

@ -135,6 +135,7 @@ if __name__ == "__main__":
("SQLITE_THREADSAFE", "1"), ("SQLITE_THREADSAFE", "1"),
("SQLITE_EXTRA_INIT", "sqlcipher_extra_init"), ("SQLITE_EXTRA_INIT", "sqlcipher_extra_init"),
("SQLITE_EXTRA_SHUTDOWN", "sqlcipher_extra_shutdown"), ("SQLITE_EXTRA_SHUTDOWN", "sqlcipher_extra_shutdown"),
("HAVE_STDINT_H", "1"),
# Increase the maximum number of "host parameters". # Increase the maximum number of "host parameters".
("SQLITE_MAX_VARIABLE_NUMBER", "250000"), ("SQLITE_MAX_VARIABLE_NUMBER", "250000"),
# Additional nice-to-have. # Additional nice-to-have.
@ -143,9 +144,6 @@ if __name__ == "__main__":
("inline", "__inline"), ("inline", "__inline"),
] ]
if platform.system() == "Linux":
define_macros.append(("HAVE_STDINT_H", "1"))
# Configure the compiler # Configure the compiler
arch = get_arch() arch = get_arch()
if arch == "universal2": if arch == "universal2":