summaryrefslogtreecommitdiff
path: root/src/base/pixel.cc
diff options
context:
space:
mode:
authorNikos Nikoleris <nikos.nikoleris@arm.com>2018-12-01 14:52:23 +0000
committerNikos Nikoleris <nikos.nikoleris@arm.com>2018-12-04 10:03:30 +0000
commitfc09f4a24e22988cb89650b1d5b1f3716cf5c893 (patch)
tree9d7803aae3a3bfe204ae94276012a861bccf4412 /src/base/pixel.cc
parent7f2d7fe4ef622d861e55517279f193cdf8acfc99 (diff)
downloadgem5-fc09f4a24e22988cb89650b1d5b1f3716cf5c893.tar.xz
base: Fix fiber compilation issue for Mac OS
Mac OS has deprecated the use of ucontext and at the moment we are using a workaround to enable it. A side-effect is that the code is marked as _POSIX_C_SOURCE and consequently <sys/mman.h> requires the code to be also marked as _DARWIN_C_SOURCE to include the definition of MAP_ANONYMOUS. Change-Id: I65550d11a0a21cd36d832a7de6320e7e3f332a9d Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/14817 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/base/pixel.cc')
0 files changed, 0 insertions, 0 deletions