Merge pull request #295 from Azaezel/alpha40_shippingFlag

fix compilation with shipping flag
This commit is contained in:
Brian Roberts 2020-10-03 11:26:35 -05:00 committed by GitHub
commit 521fdf3454
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,7 +153,7 @@
#ifdef TORQUE_DEBUG
#define TORQUE_GATHER_METRICS 0
#define TORQUE_ENABLE_PROFILE_PATH
#ifndef TORQUE_DEBUG_GUARD
#define TORQUE_DEBUG_GUARD
#endif
@ -180,7 +180,9 @@
// Enable the profiler by default, if we're not doing a shipping build.
#define TORQUE_ENABLE_PROFILER
#ifdef TORQUE_DEBUG
#define TORQUE_ENABLE_PROFILE_PATH
#endif
// Enable the TorqueScript assert() instruction if not shipping.
#define TORQUE_ENABLE_SCRIPTASSERTS