summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2010-05-06 08:42:21 -0700
committerNathan Binkert <nate@binkert.org>2010-05-06 08:42:21 -0700
commitc4057a13f1299db5b2d6621a4158984da893bc5e (patch)
treed2ea3ea1a6bc4e390ca610acb719e823b6308444
parentf07ee128ccebec4653e85c07fbd2c1225c968b23 (diff)
downloadgem5-c4057a13f1299db5b2d6621a4158984da893bc5e.tar.xz
macos: MacOS has deprecated getdirentries, so just disable the code.
Hopefully it isn't used much
-rw-r--r--src/kern/tru64/tru64.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kern/tru64/tru64.hh b/src/kern/tru64/tru64.hh
index 033f30946..d0c11a934 100644
--- a/src/kern/tru64/tru64.hh
+++ b/src/kern/tru64/tru64.hh
@@ -437,7 +437,7 @@ class Tru64 : public OperatingSystem
{
using namespace TheISA;
-#ifdef __CYGWIN__
+#if defined(__APPLE__) || defined(__CYGWIN__)
panic("getdirent not implemented on cygwin!");
#else
int index = 0;