Commit 6b5ad3c1 authored by unknown's avatar unknown

my_mmap.c:

  Changed #warning pragma at the bottom to only occur when being used on non-Windows OS


mysys/my_mmap.c:
  Changed #warning pragma at the bottom to only occur when being used on non-Windows OS
parent 679088a2
...@@ -85,9 +85,7 @@ int my_msync(int fd, void *addr, size_t len, int flags) ...@@ -85,9 +85,7 @@ int my_msync(int fd, void *addr, size_t len, int flags)
#endif #endif
#ifdef _WINDOWS #ifndef __WIN__
#pragma message "no mmap!"
#else
#warning "no mmap!" #warning "no mmap!"
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment