-
Notifications
You must be signed in to change notification settings - Fork 2k
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
GNU/kFreeBSD support #1093
Merged
Merged
GNU/kFreeBSD support #1093
Commits on Jul 13, 2016
-
bx: use real alloca.h on glibc systems
On GNU/kFreeBSD, the definition for alloca() can be found in the system alloca.h
Configuration menu - View commit details
-
Copy full SHA for c904fc1 - Browse repository at this point
Copy the full SHA c904fc1View commit details -
bx: use system signal.h on glibc systems
On GNU/kFreeBSD, sys/signal.h is only a wrapper around glibc signal.h anyway, leading to a #include loop in this case.
Configuration menu - View commit details
-
Copy full SHA for 8fb0ab4 - Browse repository at this point
Copy the full SHA 8fb0ab4View commit details -
bx: support glibc-based BSD platforms
On GNU/kFreeBSD, pthread_setname_np can be found in glibc's pthread.h (same as on GNU/Linux). pthread_np.h does not exist there.
Configuration menu - View commit details
-
Copy full SHA for f2ad735 - Browse repository at this point
Copy the full SHA f2ad735View commit details -
Configuration menu - View commit details
-
Copy full SHA for b59412a - Browse repository at this point
Copy the full SHA b59412aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad91a13 - Browse repository at this point
Copy the full SHA ad91a13View commit details -
Fix potential compilation error by ensuring __GLIBC__ is only evaluated when actually defined. When __GLIBC__ is defined, we do not need any additional headers on BSD platforms (hence why using #elif).
Configuration menu - View commit details
-
Copy full SHA for 423097c - Browse repository at this point
Copy the full SHA 423097cView commit details -
Trying to evaluate __GLIBC__ will result in an error if is not defined, if the preprocessor does not short-cut the evaluation. Split the macros onto separate lines and define the result in a new BX_USE_GLIBC_PTHREAD_SETNAME_NP macro to avoid duplication.
Configuration menu - View commit details
-
Copy full SHA for 6256946 - Browse repository at this point
Copy the full SHA 6256946View commit details
Commits on Jul 14, 2016
-
Configuration menu - View commit details
-
Copy full SHA for ef8816a - Browse repository at this point
Copy the full SHA ef8816aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.