Fix link error on Windows.

error LNK2001: unresolved external symbol _debug_sync_C_callback_ptr
This commit is contained in:
Marko Mäkelä 2012-02-16 15:54:16 +02:00
parent 2f755bdf66
commit e63d0c916b
2 changed files with 18 additions and 6 deletions

View File

@ -23,9 +23,15 @@ Insert into a table
Created 4/20/1996 Heikki Tuuri Created 4/20/1996 Heikki Tuuri
*******************************************************/ *******************************************************/
#include "my_global.h" /* HAVE_* */ #ifdef __WIN__
#include "m_string.h" /* for my_sys.h */ /* error LNK2001: unresolved external symbol _debug_sync_C_callback_ptr */
#include "my_sys.h" /* DEBUG_SYNC_C */ # 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" #include "row0ins.h"
#ifdef UNIV_NONINL #ifdef UNIV_NONINL

View File

@ -23,9 +23,15 @@ Update of a row
Created 12/27/1996 Heikki Tuuri Created 12/27/1996 Heikki Tuuri
*******************************************************/ *******************************************************/
#include "my_global.h" /* HAVE_* */ #ifdef __WIN__
#include "m_string.h" /* for my_sys.h */ /* error LNK2001: unresolved external symbol _debug_sync_C_callback_ptr */
#include "my_sys.h" /* DEBUG_SYNC_C */ # 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" #include "row0upd.h"
#ifdef UNIV_NONINL #ifdef UNIV_NONINL