opnsense-ports/emulators/gem5/files/patch-src_mem_physical.cc
Franco Fichtner c0e1cc58ae */*: sync with upstream
Taken from: FreeBSD
2015-12-27 09:36:26 +01:00

14 lines
296 B
C++

--- src/mem/physical.cc.orig 2015-04-21 15:32:43 UTC
+++ src/mem/physical.cc
@@ -62,11 +62,9 @@
* host. On OSX the MAP_NORESERVE flag does not exist, so simply make
* it 0.
*/
-#if defined(__APPLE__)
#ifndef MAP_NORESERVE
#define MAP_NORESERVE 0
#endif
-#endif
using namespace std;