1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-26 01:44:06 +03:00

mmap portability layer, mmap for Windows

new macro: thread_safe_decrement, thread_safe_dec_and_test, statistic_decrement


mysys/my_chsize.c:
  cleanup
include/config-win.h:
  mmap portability layer, mmap for Windows
include/my_pthread.h:
  thread_safe_decrement, thread_safe_dec_and_test, statistic_decrement
include/my_sys.h:
  mmap portability layer, mmap for Windows
mysys/Makefile.am:
  mmap portability layer, mmap for Windows
This commit is contained in:
unknown
2004-11-04 22:55:47 +01:00
parent fac533bb14
commit cce44b148c
6 changed files with 148 additions and 14 deletions

View File

@@ -301,6 +301,9 @@ inline double ulonglong2double(ulonglong value)
#define HAVE_SETFILEPOINTER
#define HAVE_VIO
#define HAME_MMAP /* in mysys/my_mmap.c */
#define HAVE_GETPAGESIZE /* in mysys/my_mmap.c */
#ifdef NOT_USED
#define HAVE_SNPRINTF /* Gave link error */
#define _snprintf snprintf