beyond-all-reason / spring

A powerful free cross-platform RTS game engine
https://beyond-all-reason.github.io/spring/
Other
178 stars 95 forks source link

avoid collision with macro _L in ctype.h (is pulled in on OpenBSD) #1494

Closed rfht closed 2 months ago

rfht commented 2 months ago

As discussed on Discord. Linux also has _L in ctype.h, but it seems this file is only pulled in on OpenBSD, probably via #include <cctype>. Renaming this variable fixes the collision.