summaryrefslogtreecommitdiff
path: root/src/fl_call_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fl_call_main.c')
-rw-r--r--src/fl_call_main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fl_call_main.c b/src/fl_call_main.c
index 89e8762df..f32122a20 100644
--- a/src/fl_call_main.c
+++ b/src/fl_call_main.c
@@ -123,11 +123,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
return rc;
}
-#elif defined(__hpux)
-/* This code to prevent "empty translation unit" or similar warnings... */
-static void dummy(void) {}
#else
-/* This is perhaps a better code for general cases than 'static void dummy() {}' to avoid "empty translation unit" (e.g. Sun) */
+/* STR# 2973: solves "empty translation unit" error (Sun, HP-UX..) */
typedef int dummy;
#endif /* WIN32 && !FL_DLL && !__GNUC__ */