mirror of https://github.com/ppy/SDL3-CS.git
24 lines
623 B
Plaintext
24 lines
623 B
Plaintext
# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
# See the LICENCE file in the repository root for full licence text.
|
|
|
|
# Prevent SDL memory functions from being defined to compiler intrinsic ones
|
|
--define-macro
|
|
SDL_SLOW_MEMCPY
|
|
SDL_SLOW_MEMMOVE
|
|
SDL_SLOW_MEMSET
|
|
SDL_DISABLE_ALLOCA
|
|
|
|
# Prevent SDL from using compiler intrinsics __builtin_mul_overflow and __builtin_add_overflow.
|
|
--additional
|
|
--undefine-macro=__has_builtin
|
|
|
|
# Exclude symbols that differ on Windows and Unix
|
|
--exclude
|
|
SDL_size_mul_check_overflow
|
|
SDL_size_add_check_overflow
|
|
SDL_SIZE_MAX
|
|
SDL_PRIs64
|
|
SDL_PRIu64
|
|
SDL_PRIx64
|
|
SDL_PRIX64
|