gingerBill/gb

Clang compiler detected as gcc

Opened this issue · 0 comments

At https://github.com/gingerBill/gb/blob/master/gb.h#L207, there is a check for if GNUC is defined, and if so the compiler is marked as gcc. However, clang also defines the GNUC macro and so is detected as being gcc; to fix this, put the clang check first.