Immediate-Mode-UI / Nuklear

A single-header ANSI C immediate mode cross-platform GUI library
https://immediate-mode-ui.github.io/Nuklear/doc/index.html
8.89k stars 533 forks source link

Use __PPC64__ macro for GCC detection #577

Closed fitzsim closed 9 months ago

fitzsim commented 10 months ago

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.