Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mountain Lion changed API of scandir #695

Merged
merged 2 commits into from Aug 8, 2012

Conversation

vigsterkr
Copy link
Member

The API of scandir has been changed in OSX 10.8 in a way
that it's the same as in other linux distros. Without this
fix shogun will not compile on OSX 10.8

The API of scandir has been changed in OSX 10.8 in a way that
it's the same as in other linux distros. Without this fix shogun
will not compile on OSX 10.8
@@ -58,7 +58,12 @@ enum EMessageType
#define FBUFSIZE 4096

#ifdef DARWIN
#include <Availability.h>
#ifdef __MAC_10_8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmhh can you somehow check for os greater equal 10.8 here? Otherwise we will have the same issue with the next os release.

@vigsterkr
Copy link
Member Author

this patch should do that

sonney2k pushed a commit that referenced this pull request Aug 8, 2012
Mountain Lion changed API of scandir
@sonney2k sonney2k merged commit f342b7d into shogun-toolbox:master Aug 8, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants