From c4057a13f1299db5b2d6621a4158984da893bc5e Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Thu, 6 May 2010 08:42:21 -0700 Subject: macos: MacOS has deprecated getdirentries, so just disable the code. Hopefully it isn't used much --- src/kern/tru64/tru64.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3