summaryrefslogtreecommitdiff
path: root/include/config-win.h
diff options
context:
space:
mode:
authorunknown <malff/marcsql@weblab.(none)>2007-05-22 16:19:36 -0600
committerunknown <malff/marcsql@weblab.(none)>2007-05-22 16:19:36 -0600
commite5fe02615e71ac59d2f9577e199a0c95d5021408 (patch)
treed056c801f32fa6eeb6616b1d1e7c2991df4f516d /include/config-win.h
parent2e6e572f994cd0c458e35847d81d00e45af340f2 (diff)
downloadmariadb-git-e5fe02615e71ac59d2f9577e199a0c95d5021408.tar.gz
build break cleanup
include/config-win.h: cleanup, windows build break include/my_pthread.h: cleanup, windows build break sql/event_queue.cc: warnings cleanup, unititialized waiting_on_cond tests/mysql_client_test.c: warnings cleanup
Diffstat (limited to 'include/config-win.h')
-rw-r--r--include/config-win.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/config-win.h b/include/config-win.h
index 8d6f8885626..db5f516a59b 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -411,16 +411,7 @@ inline double ulonglong2double(ulonglong value)
#ifdef __NT__ /* This should also work on Win98 but .. */
#define thread_safe_add(V,C,L) InterlockedExchangeAdd((long*) &(V),(C))
#define thread_safe_sub(V,C,L) InterlockedExchangeAdd((long*) &(V),-(long) (C))
-#define statistic_add(V,C,L) thread_safe_add((V),(C),(L))
-#else
-#define thread_safe_add(V,C,L) \
- pthread_mutex_lock((L)); (V)+=(C); pthread_mutex_unlock((L));
-#define thread_safe_sub(V,C,L) \
- pthread_mutex_lock((L)); (V)-=(C); pthread_mutex_unlock((L));
-#define statistic_add(V,C,L) (V)+=(C)
#endif
-#define statistic_increment(V,L) thread_safe_increment((V),(L))
-#define statistic_decrement(V,L) thread_safe_decrement((V),(L))
#define shared_memory_buffer_length 16000
#define default_shared_memory_base_name "MYSQL"