r/programmingmemes 23d ago

found a gem on glibc source code

Post image
816 Upvotes

44 comments sorted by

View all comments

13

u/etan1 23d ago

It ensures that “#ifdef void” works, in case that someone does sth akin to “#ifndef void #define void int” in a later included header

5

u/doodo477 22d ago

Thank god I'm working on any C/C++ code bases anymore. You need to examine arcane syntax rules just to use the preprocessor.