dll: Make previous change backwardly compatible

Older GCC do not know the cast-function-pragma and flag that as a
warning.  That results in an error on our Debian 9 build.
merge-requests/269/head
Olaf Meeuwissen 2019-12-22 18:34:45 +09:00
rodzic e7f6c6e864
commit fd407cc58b
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -100,6 +100,7 @@ posix_dlsym (void *handle, const char *func)
real fast, ignore this particular warning for the remainder of
the file.
*/
# pragma GCC diagnostic ignored "-Wpragmas" /* backward compatibility */
# pragma GCC diagnostic ignored "-Wcast-function-type"
/* Older versions of dlopen() don't define RTLD_NOW and RTLD_LAZY.