chromium 11.0.969.72
[chromium.git] / patches / patch-native__client_src_include_nacl__platform.h
1 $NetBSD$
2
3 --- native_client/src/include/nacl_platform.h.orig      2011-04-13 08:13:05.000000000 +0000
4 +++ native_client/src/include/nacl_platform.h
5 @@ -49,13 +49,11 @@
6  /* mmap enums, e.g.  PROT_READ, PROT_WRITE*/
7  #if NACL_WINDOWS
8  #include "native_client/src/include/win/mman.h"
9 -#elif NACL_OSX
10 +#elif NACL_OSX || NACL_LINUX
11  # include <sys/mman.h>
12  #ifndef MAP_ANONYMOUS
13  #define MAP_ANONYMOUS MAP_ANON
14  #endif
15 -#elif NACL_LINUX
16 -# include <sys/mman.h>
17  #endif
18  
19  #endif  /* NATIVE_CLIENT_SRC_INCLUDE_NACL_PLATFORM_H_ */