Navigation Menu

Skip to content

Commit

Permalink
check for osx version a little bit smarter
Browse files Browse the repository at this point in the history
requested by Soeren
  • Loading branch information
vigsterkr committed Aug 8, 2012
1 parent 5e2d783 commit 2cebf0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/shogun/io/SGIO.h
Expand Up @@ -59,10 +59,10 @@ enum EMessageType

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

0 comments on commit 2cebf0a

Please sign in to comment.