1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Make restGetFile extern C

This commit is contained in:
Olivier Bertrand
2019-12-03 18:06:05 +01:00
parent 64b1b959f1
commit 579d572d25
3 changed files with 8 additions and 4 deletions

View File

@@ -15,9 +15,9 @@
#define _MAX_PATH 260
#if !defined(__WIN__)
#define __stdcall
//#if !defined(REST_SOURCE)
//#include <dlfcn.h> // dlopen(), dlclose(), dlsym() ...
//#endif
#if !defined(REST_SOURCE)
#include <dlfcn.h> // dlopen(), dlclose(), dlsym() ...
#endif
#endif // !__WIN__
#define _OS_H_INCLUDED // Prevent os.h to be called
#endif // !MARIADB