Commit 65310f58 authored by Olivier Bertrand's avatar Olivier Bertrand

<dlfnc.h> in tabrest.cpp and redef.cpp

parent 1f7f5331
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#if defined(__WIN__) #if defined(__WIN__)
#include <sqlext.h> #include <sqlext.h>
#else #else
#include <dlfcn.h> // dlopen(), dlclose(), dlsym() ... //#include <dlfcn.h> // dlopen(), dlclose(), dlsym() ...
#include "osutil.h" #include "osutil.h"
//#include "sqlext.h" //#include "sqlext.h"
#endif #endif
......
...@@ -10,14 +10,14 @@ ...@@ -10,14 +10,14 @@
/***********************************************************************/ /***********************************************************************/
#if defined(MARIADB) #if defined(MARIADB)
#include <my_global.h> // All MariaDB stuff #include <my_global.h> // All MariaDB stuff
#if !defined(__WIN__) && !defined(REST_SOURCE)
#include <dlfcn.h> // dlopen(), dlclose(), dlsym() ...
#endif
#else // !MARIADB OEM module #else // !MARIADB OEM module
#include "mini-global.h" #include "mini-global.h"
#define _MAX_PATH 260 #define _MAX_PATH 260
#if !defined(__WIN__) #if !defined(__WIN__)
#define __stdcall #define __stdcall
#if !defined(REST_SOURCE)
#include <dlfcn.h> // dlopen(), dlclose(), dlsym() ...
#endif
#endif // !__WIN__ #endif // !__WIN__
#define _OS_H_INCLUDED // Prevent os.h to be called #define _OS_H_INCLUDED // Prevent os.h to be called
#endif // !MARIADB #endif // !MARIADB
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment