News for hackers. Stuff that matters.
Re:Reconstant: Share constant definitions between programmin... by UncleMeat on Monday March 08, 2021 @08:12AM (#26385314)
I don't know about C, but in C++ this is also not safe in a header file.
Re:Reconstant: Share constant definitions between programmin... by tempodox on Monday March 08, 2021 @09:54AM (#26386373)
True. Putting that in a header file will lead to linker errors if the file is included more than once.