aboutsummaryrefslogtreecommitdiff
path: root/cube
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2022-08-30 19:13:27 -0400
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2022-08-31 10:02:07 -0600
commit77cf67df0795d0bceb51fe6737b4c9aed6694572 (patch)
tree04f83d77e18138d18e7dacc8570bbf8f69c2b911 /cube
parent439026106ac98679e5961a499790327a8bf8f1d6 (diff)
downloadusermoji-77cf67df0795d0bceb51fe6737b4c9aed6694572.tar.xz
vulkaninfo/cube: added support for OpenBSD
Diffstat (limited to 'cube')
-rw-r--r--cube/cube.cpp2
-rw-r--r--cube/gettime.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cube/cube.cpp b/cube/cube.cpp
index 910b1be1..aa3d7b20 100644
--- a/cube/cube.cpp
+++ b/cube/cube.cpp
@@ -3150,7 +3150,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR pCmdLine,
return static_cast<int>(msg.wParam);
}
-#elif defined(__linux__) || defined(__FreeBSD__)
+#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)
int main(int argc, char **argv) {
Demo demo;
diff --git a/cube/gettime.h b/cube/gettime.h
index 4be0d851..5eae98fd 100644
--- a/cube/gettime.h
+++ b/cube/gettime.h
@@ -26,7 +26,7 @@
#include <windows.h>
-#elif defined(__unix__) || defined(__linux) || defined(__linux__) || defined(__FreeBSD__) || defined(__ANDROID__) || defined(__EPOC32__) || defined(__QNX__)
+#elif defined(__unix__) || defined(__linux) || defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__ANDROID__) || defined(__EPOC32__) || defined(__QNX__)
#include <time.h>