From 8d713a92af919eabad37c540b728eda1ebb34e38 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 4 Mar 2015 09:54:27 +0100 Subject: [PATCH] Hide OS X specific callback when not needed --- vncviewer/vncviewer.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index a60f000a..34bc3be4 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -102,10 +102,12 @@ void about_vncviewer() fl_message("%s", aboutText); } +#ifdef __APPLE__ static void about_callback(Fl_Widget *widget, void *data) { about_vncviewer(); } +#endif static void CleanupSignalHandler(int sig) { -- 2.39.5