Skip to content
Discussion options

You must be logged in to vote

No difference. I prefer #if defined() so that when I need to do #if defined(FOO) && defined(BAR) it has the same shape as a one armed conditional. Just about the purest bikeshedding imaginable.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tspader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants