macos: MacOS has deprecated getdirentries, so just disable the code.
authorNathan Binkert <nate@binkert.org>
Thu, 6 May 2010 15:42:21 +0000 (08:42 -0700)
committerNathan Binkert <nate@binkert.org>
Thu, 6 May 2010 15:42:21 +0000 (08:42 -0700)
Hopefully it isn't used much

src/kern/tru64/tru64.hh

index 033f30946139522eddd845ec483d6df4c4f92e48..d0c11a9343022999e242c35f112f254698d12456 100644 (file)
@@ -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;