mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 10:53:39 +01:00
22 lines
376 B
Plaintext
22 lines
376 B
Plaintext
|
/* Copyright 2004, 2008 Bob Proulx <bob@proulx.com>
|
||
|
Distributed under the two-clause BSD licence;
|
||
|
see the COPYING file for details. */
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
/* This code is passed through. "#if 0 else" */
|
||
|
|
||
|
/* This code is passed through. "#if 1 then" */
|
||
|
|
||
|
#if defined(FOO)
|
||
|
int foo() { return 0; }
|
||
|
#else
|
||
|
#error FOO not defined
|
||
|
#endif
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
foo();
|
||
|
}
|