From f84ca359d4515493e8755a235cf473b0c4e4183d Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 18 May 2017 12:25:12 +0200 Subject: [PATCH] fix compilation of Native_filesel() with non win32/non linux platforms Implementations would need to be added when Native_filesel() will be used for real --- src/filesel.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/filesel.c b/src/filesel.c index 221ff2f3..b0469df2 100644 --- a/src/filesel.c +++ b/src/filesel.c @@ -124,9 +124,13 @@ byte Native_filesel(byte load) } #else (void)load; // unused +#if 0 + /* if the native fileselector is used, we should implement it where needed + * OS X ? GTK ? etc. */ #ifndef __linux__ // This makes no sense on X11-oriented platforms. Nothing is really native there. #warning "EXPERIMENTAL function for native fileselector not available for this platform!" #endif +#endif return 255; // fail ! #endif }