diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-11 21:25:06 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2006-09-11 21:25:06 +0000 |
commit | 9057132e95a48eca99ece2d2f98f6c3317c7bfa6 (patch) | |
tree | c1b50e221a4bd2ec785e3b12c1c2a8d139bf8954 /source/lib/replace/system | |
parent | bc240b99f7553a795b4f81e43493813df596eaae (diff) | |
download | samba-9057132e95a48eca99ece2d2f98f6c3317c7bfa6.tar.gz samba-9057132e95a48eca99ece2d2f98f6c3317c7bfa6.tar.xz samba-9057132e95a48eca99ece2d2f98f6c3317c7bfa6.zip |
r18400: move MAP_FAILED define to lib/replace/system/shmem.h
Diffstat (limited to 'source/lib/replace/system')
-rw-r--r-- | source/lib/replace/system/shmem.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/lib/replace/system/shmem.h b/source/lib/replace/system/shmem.h index 9c0458363a8..26fa7c8d433 100644 --- a/source/lib/replace/system/shmem.h +++ b/source/lib/replace/system/shmem.h @@ -48,4 +48,8 @@ #define MAP_FILE 0 #endif +#ifndef MAP_FAILED +#define MAP_FAILED ((void *)-1) +#endif + #endif |