diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-09-27 01:27:23 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-09-27 01:27:23 +0400 |
commit | dd02c2937a38b06b246ed7beb0aa51eb2f0f6877 (patch) | |
tree | da81f6996b4b9f31bd31d2731cadd4adb499c6fa /source | |
parent | e424002d307fa278a3ee63901aeca6a76c770248 (diff) |
Made PIL_time_utildefines self-sufficient
Meaning it's enough to only include PIL_time_utildefines for
benchmarking, no need to worry about other header dependencies.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/PIL_time_utildefines.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenlib/PIL_time_utildefines.h b/source/blender/blenlib/PIL_time_utildefines.h index c253aba875f..135817f6a17 100644 --- a/source/blender/blenlib/PIL_time_utildefines.h +++ b/source/blender/blenlib/PIL_time_utildefines.h @@ -29,13 +29,14 @@ /** \file blender/blenlib/PIL_time_utildefines.h * \ingroup bli * \brief Utility defines for timing/benchmarks. - * - * \note requires BLI_utildefines.h for 'AT'. */ #ifndef __PIL_TIME_UTILDEFINES_H__ #define __PIL_TIME_UTILDEFINES_H__ +#include "PIL_time.h" /* for PIL_check_seconds_timer */ +#include "BLI_utildefines.h" /* for AT */ + #define TIMEIT_START(var) \ { \ double _timeit_##var = PIL_check_seconds_timer(); \ |