From 3c404128c4669a1f4f190e20a89553677717fc50 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Sep 2016 22:01:44 +0300 Subject: Add missing comments into defines. --- src/test/testlauncher.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/test/testlauncher.cpp') diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp index ba9cfc267..7c01402a8 100644 --- a/src/test/testlauncher.cpp +++ b/src/test/testlauncher.cpp @@ -54,7 +54,7 @@ #ifdef WIN32 #include #define sleep(seconds) Sleep((seconds) * 1000) -#endif +#endif // WIN32 #include @@ -501,7 +501,8 @@ int TestLauncher::testDyeSpeed() ((static_cast(time1.tv_sec) * 1000000000L + static_cast(time1.tv_nsec)) / 1); printf("time: %ld\n", diff); -#endif +#endif // defined __linux__ || defined __linux + return 0; } @@ -689,4 +690,4 @@ int TestLauncher::calcFps(const timeval &start, return CAST_S32(static_cast(calls) * 10000 / mtime); } -#endif +#endif // USE_OPENGL -- cgit v1.2.3-60-g2f50