goat3dgfx
diff src/timer.cc @ 15:7d6b667821cf
wrapped everything in the goatgfx namespace
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 30 Nov 2013 20:52:21 +0200 |
parents | 1873dfd13f2d |
children |
line diff
1.1 --- a/src/timer.cc Sat Nov 30 15:15:34 2013 +0200 1.2 +++ b/src/timer.cc Sat Nov 30 20:52:21 2013 +0200 1.3 @@ -1,9 +1,13 @@ 1.4 #include "timer.h" 1.5 1.6 +using namespace goatgfx; 1.7 + 1.8 #if defined(__APPLE__) && !defined(__unix__) 1.9 #define __unix__ 1.10 #endif 1.11 1.12 +namespace goatgfx { 1.13 + 1.14 #ifdef __unix__ 1.15 #include <time.h> 1.16 #include <unistd.h> 1.17 @@ -70,6 +74,8 @@ 1.18 } 1.19 } 1.20 1.21 +} // namespace goatgfx 1.22 + 1.23 1.24 Timer::Timer() 1.25 {