JLinX – Blog

Weblog von Jan Linxweiler

How to use #ifdef

Filed under: Development — Jannis at 2:07 pm on Thursday, March 15, 2007

#ifdef ABC
   foo();
#elif DEF
   foo2();
#else
   foo3();
#endif

#ifndef GHI || defined(JKL)
   foo4();
#endif

#if !defined(GHI) || !defined(JKL)
   foo5();
#endif

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.