From 2d95dac3b0e3cda7cf4ceef87564d4437d0729fe Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 18 Jun 2011 16:08:40 +0000 Subject: [PATCH] Add a warning if the native fileselector isn't available. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1807 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- src/filesel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/filesel.c b/src/filesel.c index ce038464..9e73b616 100644 --- a/src/filesel.c +++ b/src/filesel.c @@ -120,7 +120,8 @@ byte Native_filesel(byte load) // Check if cancel return CommDlgExtendedError(); } -#else +#else ifndef(__linux__) // This makes no sense on X11-oriented platform. Nothing is really native there. + #warning "EXPERIMENTAL function for native fileselector not available for this platform!" return 255; // fail ! #endif }