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
This commit is contained in:
Thomas Bernard 2017-05-18 12:25:12 +02:00
parent 1d2cfc2a8d
commit f84ca359d4

View File

@ -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
}