Nesting ifdefs


is ok nest macro ifdefs inside other ifdefs?

such as:

code: [select]

#ifdef a
  #ifndef b
    #define c
  #endif
  #ifndef d
    #define e
#endif

quote
is ok nest macro ifdefs inside other ifdefs?
does work when try ?


Arduino Forum > Using Arduino > Programming Questions > Nesting ifdefs


arduino

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code