Logo Search packages:      
Sourcecode: unifdef version File versions  Download package

if1.c

#include <stdio.h>
#include <stdlib.h>

#if FOO
int foo() { return 0; }
#else
#error FOO not defined
#endif

#if BAR
int foo() { return 0; }
#elif FOO
int bar() { return 0; }
#else
#error FOO not defined
#endif

int main()
{
  foo();
  bar();
}

Generated by  Doxygen 1.6.0   Back to index