blob: 2586a3b419590c6ad4d40a74c79cdb42bd3bd1d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
int main(int argc, char** argv)
{
switch (argc)
{
// If FOO or BAR is defined, treat it specially
#ifdef FOO
case FOO:
return 1;
#endif
#ifdef BAR
case BAR:
return 2;
#endif
default:
return 100;
}
}
|