diff options
| author | Pino Toscano <toscano.pino@tiscali.it> | 2024-06-04 22:49:19 +0200 |
|---|---|---|
| committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2024-06-05 15:16:13 -0600 |
| commit | 83bcb8fa10c8db0958ddede6b9346c6cfefd2de6 (patch) | |
| tree | cb153a8353a4f9af391c66c8c60938b9661c31ea /cube/cube.cpp | |
| parent | 71a4240f551e11809126660aec6dc05a6758eaa5 (diff) | |
| download | usermoji-83bcb8fa10c8db0958ddede6b9346c6cfefd2de6.tar.xz | |
cube: use standard Unix main() on GNU/Hurd
It is valid for most of the Unix platforms, including GNU/Hurd.
Diffstat (limited to 'cube/cube.cpp')
| -rw-r--r-- | cube/cube.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cube/cube.cpp b/cube/cube.cpp index ccf0ec80..46b6fdb3 100644 --- a/cube/cube.cpp +++ b/cube/cube.cpp @@ -3387,7 +3387,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR pCmdLine, return static_cast<int>(msg.wParam); } -#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__QNX__) +#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__QNX__) || defined(__GNU__) int main(int argc, char **argv) { Demo demo; |
