mirror of
https://github.com/Ed94/gencpp.git
synced 2024-12-22 15:54:45 -08:00
Bad ifdef for benchmark in gen_dep.
This commit is contained in:
parent
98b776d66e
commit
41dc0e3fbb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user