diff options
author | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2015-09-18 15:15:18 +0000 |
---|---|---|
committer | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2015-09-18 15:15:18 +0000 |
commit | 8b2630a82fbecfd57fa38aebb397a755936690e5 (patch) | |
tree | a9cfcd7bb5bea87d63fc8ef81c8456a130a249bc /src/sys-mmap.h | |
parent | e57c8295ebe92b58ca3e68fa8ea8f70d4b0b4cee (diff) | |
download | lighttpd-master.tar.gz |
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@3041 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/sys-mmap.h')
-rw-r--r-- | src/sys-mmap.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/sys-mmap.h b/src/sys-mmap.h deleted file mode 100644 index 560987b3..00000000 --- a/src/sys-mmap.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef WIN32_MMAP_H -#define WIN32_MMAP_H - -#include "settings.h" - -#ifdef _WIN32 - -#define MAP_FAILED -1 -#define PROT_SHARED 0 -#define MAP_SHARED 0 -#define PROT_READ 0 - -#define mmap(a, b, c, d, e, f) (-1) -#define munmap(a, b) (-1) - -#include <windows.h> - -#else -#include <sys/mman.h> - -#ifndef MAP_FAILED -#define MAP_FAILED -1 -#endif -#endif - -#endif |