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

Use __PPC64__ macro for GCC detection #577

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

fitzsim
Copy link
Contributor

@fitzsim fitzsim commented Sep 12, 2023

PowerPC 64-bit platforms use the lowercase __ppc64__ on Apple systems (based on comments I've seen). However lowercase __ppc64__ is not defined by GCC; uppercase __PPC64__ is. This pull request adds a check for the uppercase macro so that compiling Nuklear.h works on systems that use GCC, like Debian GNU/Linux ppc64le.

Copy link
Contributor

@RobLoach RobLoach left a comment

Choose a reason for hiding this comment

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

Seems good with me! I'll let someone else give another 👀 though

@RobLoach RobLoach merged commit 7478cd7 into Immediate-Mode-UI:master Oct 17, 2023
1 check passed
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