disable mem mngr

This commit is contained in:
marauder2k7 2023-07-25 08:57:08 +01:00
parent cc6a0383a4
commit 6eb051b5a4
2 changed files with 2 additions and 1 deletions

View file

@ -19,7 +19,7 @@ jobs:
runs-on: ${{matrix.os}} runs-on: ${{matrix.os}}
strategy: strategy:
matrix: matrix:
os: [ ubuntu-latest, macos-latest ] os: [ ubuntu-latest ]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View file

@ -16,6 +16,7 @@ forwardDef(TORQUE_SDL)
if(TORQUE_TESTING) if(TORQUE_TESTING)
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_TESTS_ENABLED) set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_TESTS_ENABLED)
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} "_VARIADIC_MAX=10") set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} "_VARIADIC_MAX=10")
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_DISABLE_MEMORY_MANAGER)
endif() endif()
# On Windows we disable CRT Security warnings - this comes from recommendations to use non-portable functions. # On Windows we disable CRT Security warnings - this comes from recommendations to use non-portable functions.