3a4d8afb6b
rendering. PR: 26926 Submitted by: Randall Hopper <aa8vb@nc.rr.com>
12 lines
392 B
Plaintext
12 lines
392 B
Plaintext
--- work/OpenSceneGraph-0.8/include/osg/Timer Wed Jan 24 09:42:44 2001
|
|
+++ include/osg/Timer Mon Apr 23 18:58:17 2001
|
|
@@ -43,7 +43,7 @@
|
|
}
|
|
#pragma optimize("",on)
|
|
#endif
|
|
-#ifdef __linux
|
|
+#if defined(__linux) || defined(__FreeBSD__)
|
|
#define CLK(x) __asm__ volatile (".byte 0x0f, 0x31" : "=A" (x))
|
|
inline Timer_t tick( void ) {Timer_t x;CLK(x);return x;}
|
|
#endif
|