From 83bcb8fa10c8db0958ddede6b9346c6cfefd2de6 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Tue, 4 Jun 2024 22:49:19 +0200 Subject: cube: use standard Unix main() on GNU/Hurd It is valid for most of the Unix platforms, including GNU/Hurd. --- cube/cube.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(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; -- cgit v1.2.3