mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
#include <my_pthread.h>
extern "C" { client/mysqlbinlog.cc: #include <my_pthread.h> include/my_pthread.h: #ifdef _cplusplus extern "C" { #endif
This commit is contained in:
parent
57d9bc0434
commit
7374310f96
2 changed files with 10 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
|||
#include <m_string.h>
|
||||
#include <my_sys.h>
|
||||
#include <getopt.h>
|
||||
#include <my_pthread.h>
|
||||
#include <thr_alarm.h>
|
||||
#include <mysql.h>
|
||||
#include "log_event.h"
|
||||
|
|
|
@ -25,6 +25,10 @@
|
|||
#define ETIME ETIMEDOUT /* For FreeBSD */
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#if defined(__WIN__) || defined(OS2)
|
||||
|
||||
#ifdef OS2
|
||||
|
@ -612,4 +616,9 @@ extern struct st_my_thread_var *_my_thread_var(void) __attribute__ ((const));
|
|||
#endif /* SAFE_STATISTICS */
|
||||
#endif /* HAVE_ATOMIC_ADD */
|
||||
#endif /* thread_safe_increment */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _my_ptread_h */
|
||||
|
|
Loading…
Reference in a new issue