Commit 1c45844a authored by reggie@mdk10.(none)'s avatar reggie@mdk10.(none)

my_mmap.c:

  Changed #warning pragma at the bottom to only occur when being used on non-Windows OS
parent 71c69f42
...@@ -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