diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-23 22:01:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-23 22:01:44 +0300 |
commit | 3c404128c4669a1f4f190e20a89553677717fc50 (patch) | |
tree | 2db4e5031089c800c4e00fd6244e578f44a7c910 /src/test/testlauncher.cpp | |
parent | 89b267d6d73bbc59f7c313b8a22b97fbb27f99a8 (diff) | |
download | mv-3c404128c4669a1f4f190e20a89553677717fc50.tar.gz mv-3c404128c4669a1f4f190e20a89553677717fc50.tar.bz2 mv-3c404128c4669a1f4f190e20a89553677717fc50.tar.xz mv-3c404128c4669a1f4f190e20a89553677717fc50.zip |
Add missing comments into defines.
Diffstat (limited to 'src/test/testlauncher.cpp')
-rw-r--r-- | src/test/testlauncher.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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 <windows.h> #define sleep(seconds) Sleep((seconds) * 1000) -#endif +#endif // WIN32 #include <sys/time.h> @@ -501,7 +501,8 @@ int TestLauncher::testDyeSpeed() ((static_cast<long int>(time1.tv_sec) * 1000000000L + static_cast<long int>(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<long>(calls) * 10000 / mtime); } -#endif +#endif // USE_OPENGL |