diff options
| author | Eleni Maria Stea <elene.mst@gmail.com> | 2021-07-03 17:12:30 +0300 |
|---|---|---|
| committer | jeremyk-lunarg <jeremyk@lunarg.com> | 2021-07-07 11:00:01 -0600 |
| commit | 8b86fbac17b9f990f653f534e9cc57b34c5572eb (patch) | |
| tree | 945f21f9fb1a072c60e9d311bfa391d881c0c40c /cube | |
| parent | 697cc6c387fd3019c37a01d6d18309916d1cc44d (diff) | |
| download | usermoji-8b86fbac17b9f990f653f534e9cc57b34c5572eb.tar.xz | |
vulkaninfo/cube: added support for FreeBSD
Made some changes for Vulkan-Tools to compile on FreeBSD.
Diffstat (limited to 'cube')
| -rw-r--r-- | cube/cube.cpp | 2 | ||||
| -rw-r--r-- | cube/gettime.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cube/cube.cpp b/cube/cube.cpp index e7826d8e..f5db1f69 100644 --- a/cube/cube.cpp +++ b/cube/cube.cpp @@ -3256,7 +3256,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR pCmdLine, return (int)msg.wParam; } -#elif __linux__ +#elif defined(__linux__) || defined(__FreeBSD__) int main(int argc, char **argv) { Demo demo; diff --git a/cube/gettime.h b/cube/gettime.h index 0139c7ae..4be0d851 100644 --- a/cube/gettime.h +++ b/cube/gettime.h @@ -26,7 +26,7 @@ #include <windows.h> -#elif defined(__unix__) || defined(__linux) || defined(__linux__) || defined(__ANDROID__) || defined(__EPOC32__) || defined(__QNX__) +#elif defined(__unix__) || defined(__linux) || defined(__linux__) || defined(__FreeBSD__) || defined(__ANDROID__) || defined(__EPOC32__) || defined(__QNX__) #include <time.h> |
