Bad ifdef for benchmark in gen_dep.

This commit is contained in:
Edward R. Gonzalez 2023-07-16 18:06:43 -04:00
parent 98b776d66e
commit 41dc0e3fbb

View File

@ -2,10 +2,8 @@
#ifdef gen_time #ifdef gen_time
#ifdef GEN_BENCHMARK
// NOTE: Ensure we use standard methods for these calls if we use GEN_PICO // NOTE: Ensure we use standard methods for these calls if we use GEN_PICO
#pragma region Macros #pragma region Macros & Includes
# include <stdio.h> # include <stdio.h>
# if ! defined( GEN_PICO_CUSTOM_ROUTINES ) # if ! defined( GEN_PICO_CUSTOM_ROUTINES )
# if ! defined( GEN_MODULE_CORE ) # if ! defined( GEN_MODULE_CORE )
@ -41,8 +39,10 @@
# undef VC_EXTRALEAN # undef VC_EXTRALEAN
# endif # endif
# endif # endif
#pragma endregion Macros #pragma endregion Macros & Includes
#ifdef GEN_BENCHMARK
// Timing includes
#if defined( GEN_SYSTEM_MACOS ) || GEN_SYSTEM_UNIX #if defined( GEN_SYSTEM_MACOS ) || GEN_SYSTEM_UNIX
# include <time.h> # include <time.h>
# include <sys/time.h> # include <sys/time.h>
@ -63,7 +63,6 @@
#endif #endif
#endif #endif
namespace gen namespace gen
{ {
#pragma region Debug #pragma region Debug