scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 3c00b024fd74b6322d5628b571440c142334d611
parent a2bd26c6ebac0479dfe2240c5af3494cbb3e5f9e
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sat, 27 Jun 2015 11:31:45 +0200

Set PREFIX as /usr/local/include as default

Diffstat:
Mcc1/cpp.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/cc1/cpp.c b/cc1/cpp.c @@ -11,6 +11,10 @@ #include "../inc/cc.h" #include "cc1.h" +#ifndef PREFIX +#define PREFIX "/usr/include/local" +#endif + static char *argp, *macroname; static unsigned arglen; static Symbol *symline, *symfile;