From: Nathan Binkert Date: Thu, 6 May 2010 15:42:21 +0000 (-0700) Subject: macos: MacOS has deprecated getdirentries, so just disable the code. X-Git-Tag: stable_2012_02_02~1413^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c4057a13f1299db5b2d6621a4158984da893bc5e;p=gem5.git macos: MacOS has deprecated getdirentries, so just disable the code. Hopefully it isn't used much --- 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;