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

Changed preprocessor for linux platform detection. #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Changed preprocessor for linux platform detection. #3

wants to merge 1 commit into from

Conversation

jcramb
Copy link

@jcramb jcramb commented Nov 26, 2013

linux is a more reliable define to detect the linux platform

__linux__ is a more reliable define to detect the linux platform
@Xonar
Copy link

Xonar commented Jan 20, 2014

_LINUX is a macro sent to the compiler if cmake picks up that it's a linux system. Does it not work when run on your machine?

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.

2 participants