SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
cad/oce/patches/patch-src_OSD_OSD_Chronometer_cxx
Normal file
12
cad/oce/patches/patch-src_OSD_OSD_Chronometer_cxx
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: src/OSD/OSD_Chronometer.cxx
|
||||
--- src/OSD/OSD_Chronometer.cxx.orig
|
||||
+++ src/OSD/OSD_Chronometer.cxx
|
||||
@@ -51,7 +51,7 @@
|
||||
void OSD_Chronometer::GetProcessCPU (Standard_Real& theUserSeconds,
|
||||
Standard_Real& theSystemSeconds)
|
||||
{
|
||||
-#if defined(__linux__) || defined(__FreeBSD__) || defined(__ANDROID__) || defined(__QNX__) || defined(__EMSCRIPTEN__)
|
||||
+#if defined(__linux__) || defined(__FreeBSD__) || defined(__ANDROID__) || defined(__QNX__) || defined(__EMSCRIPTEN__) || defined(__OpenBSD__)
|
||||
static const long aCLK_TCK = sysconf(_SC_CLK_TCK);
|
||||
#else
|
||||
static const long aCLK_TCK = CLK_TCK;
|
Loading…
Add table
Add a link
Reference in a new issue