aboutsummaryrefslogtreecommitdiff
path: root/cube/cube.cpp
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2024-06-04 22:49:19 +0200
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2024-06-05 15:16:13 -0600
commit83bcb8fa10c8db0958ddede6b9346c6cfefd2de6 (patch)
treecb153a8353a4f9af391c66c8c60938b9661c31ea /cube/cube.cpp
parent71a4240f551e11809126660aec6dc05a6758eaa5 (diff)
downloadusermoji-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.cpp2
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;