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

Loading…
Cancel
Save