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

__UNIX__ define is outdated #1

Open
rico-chet opened this issue Mar 7, 2017 · 0 comments
Open

__UNIX__ define is outdated #1

rico-chet opened this issue Mar 7, 2017 · 0 comments

Comments

@rico-chet
Copy link
Owner

The __UNIX__ define seems to be very special to GCC or something. Clang doesn't define this. Causes build issues, possibly causes correctness issues.

 find -name '*.h' -o -name '*.c' -exec grep --with-filename __UNIX__ {} \;
./lib/rip_manager.c:#if __UNIX__
./lib/rip_manager.c:#if __UNIX__
./lib/rip_manager.c:#if __UNIX__
./lib/rip_manager.c:#if __UNIX__
./lib/threadlib.c:#elif __UNIX__
./lib/relaylib.c:#if __UNIX__
./lib/socklib.c:#if __UNIX__
./lib/socklib.c:#if __UNIX__
./lib/socklib.c:#if __UNIX__

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

No branches or pull requests

1 participant