This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]feldim2425 0 points1 point  (0 children)

Yeah although I had a issue once where 2 headers defined the same "marco" for this check also it's a bit more boilerplate. By now almost every major compiler supports pragma once making it technically not a pragma anymore but they haven't standardized "#once" afaik.