summaryrefslogtreecommitdiff
path: root/innobase/include/sync0sync.ic
diff options
context:
space:
mode:
authorheikki@donna.mysql.fi <>2001-06-24 20:09:41 +0300
committerheikki@donna.mysql.fi <>2001-06-24 20:09:41 +0300
commit7f6e4a78ca5e3e64b72a1d55fdb283c843e51b5a (patch)
treef6c27154c8690eb8dc7fad6ac825463fb005fe01 /innobase/include/sync0sync.ic
parent9187316332012a717fc873aeb6a80630eb25da75 (diff)
downloadmariadb-git-7f6e4a78ca5e3e64b72a1d55fdb283c843e51b5a.tar.gz
univ.i Added a new debug define option
sync0sync.ic Do not use GCC in-line assembly srv0start.h Eliminate a deadlock of threads at startup buf0buf.h Add some debug functions srv0start.c Remove a printf
Diffstat (limited to 'innobase/include/sync0sync.ic')
-rw-r--r--innobase/include/sync0sync.ic4
1 files changed, 2 insertions, 2 deletions
diff --git a/innobase/include/sync0sync.ic b/innobase/include/sync0sync.ic
index b58d024bf6c..f7b341cb386 100644
--- a/innobase/include/sync0sync.ic
+++ b/innobase/include/sync0sync.ic
@@ -86,7 +86,7 @@ mutex_test_and_set(
/* mutex_fence(); */
return(res);
-#elif defined(__GNUC__) && defined(UNIV_INTEL_X86)
+#elif defined(not_defined) && defined(__GNUC__) && defined(UNIV_INTEL_X86)
ulint* lw;
ulint res;
@@ -134,7 +134,7 @@ mutex_reset_lock_word(
__asm MOV EDX, 0
__asm MOV ECX, lw
__asm XCHG EDX, DWORD PTR [ECX]
-#elif defined(__GNUC__) && defined(UNIV_INTEL_X86)
+#elif defined(not_defined) && defined(__GNUC__) && defined(UNIV_INTEL_X86)
ulint* lw;
lw = &(mutex->lock_word);