Commit 6b5ad3c1 authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -85,9 +85,7 @@ int my_msync(int fd, void *addr, size_t len, int flags)

#endif

#ifdef _WINDOWS
#pragma message "no mmap!"
#else
#ifndef __WIN__
#warning "no mmap!"
#endif