Fix link error on Windows.
error LNK2001: unresolved external symbol _debug_sync_C_callback_ptr
This commit is contained in:
parent
2f755bdf66
commit
e63d0c916b
@ -23,9 +23,15 @@ Insert into a table
|
||||
Created 4/20/1996 Heikki Tuuri
|
||||
*******************************************************/
|
||||
|
||||
#include "my_global.h" /* HAVE_* */
|
||||
#include "m_string.h" /* for my_sys.h */
|
||||
#include "my_sys.h" /* DEBUG_SYNC_C */
|
||||
#ifdef __WIN__
|
||||
/* error LNK2001: unresolved external symbol _debug_sync_C_callback_ptr */
|
||||
# define DEBUG_SYNC_C(dummy) ((void) 0)
|
||||
#else
|
||||
# include "my_global.h" /* HAVE_* */
|
||||
# include "m_string.h" /* for my_sys.h */
|
||||
# include "my_sys.h" /* DEBUG_SYNC_C */
|
||||
#endif
|
||||
|
||||
#include "row0ins.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
|
@ -23,9 +23,15 @@ Update of a row
|
||||
Created 12/27/1996 Heikki Tuuri
|
||||
*******************************************************/
|
||||
|
||||
#include "my_global.h" /* HAVE_* */
|
||||
#include "m_string.h" /* for my_sys.h */
|
||||
#include "my_sys.h" /* DEBUG_SYNC_C */
|
||||
#ifdef __WIN__
|
||||
/* error LNK2001: unresolved external symbol _debug_sync_C_callback_ptr */
|
||||
# define DEBUG_SYNC_C(dummy) ((void) 0)
|
||||
#else
|
||||
# include "my_global.h" /* HAVE_* */
|
||||
# include "m_string.h" /* for my_sys.h */
|
||||
# include "my_sys.h" /* DEBUG_SYNC_C */
|
||||
#endif
|
||||
|
||||
#include "row0upd.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
|
Loading…
x
Reference in New Issue
Block a user