Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
use const struct dirent for Mac OSX Lion (10.7.X) too (Closes: #784, #…
  • Loading branch information
Soeren Sonnenburg committed Sep 19, 2012
1 parent fabddb3 commit 7a4c62e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shogun/io/SGIO.h
Expand Up @@ -59,11 +59,11 @@ enum EMessageType

#ifdef DARWIN
#include <Availability.h>
#if __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_8
#if __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_7
#define CONST_DIRENT_T struct dirent
#else
#define CONST_DIRENT_T const struct dirent
#endif // Mountain Lion or earlier
#endif // Lion or earlier
#else //DARWIN
#define CONST_DIRENT_T const struct dirent
#endif //DARWIN
Expand Down

0 comments on commit 7a4c62e

Please sign in to comment.