Browse Source

cmTime.h: Added OSX specfic clock_gettime().

master
kevin 11 years ago
parent
commit
0882f93f50
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      cmTime.h

+ 4
- 1
cmTime.h View File

@@ -7,10 +7,13 @@
7 7
 // calculate elapsed time.
8 8
 //)
9 9
 
10
+#ifdef OS_OSX
11
+#include "osx/clock_gettime_stub.h"
12
+#endif
13
+
10 14
 #ifndef cmTime_h   
11 15
 #define cmTime_h
12 16
 
13
-
14 17
 #ifdef __cplusplus
15 18
 extern "C" {
16 19
 #endif

Loading…
Cancel
Save