How to use #ifdef
#ifdef ABC
foo();
#elif DEF
foo2();
#else
foo3();
#endif
#ifndef GHI || defined(JKL)
foo4();
#endif
#if !defined(GHI) || !defined(JKL)
foo5();
#endif
Comments Off on How to use #ifdef
#ifdef ABC
foo();
#elif DEF
foo2();
#else
foo3();
#endif
#ifndef GHI || defined(JKL)
foo4();
#endif
#if !defined(GHI) || !defined(JKL)
foo5();
#endif
No comments yet.
RSS feed for comments on this post.
Sorry, the comment form is closed at this time.