Commit | Line | Data |
---|---|---|
a92c5906 SS |
1 | # Configuration fragment for BFD. |
2 | ||
3 | DupIfChange {srcdir}hosts:mpw.h sysdep.h | |
4 | ||
5 | StreamEdit -e '/@WORDSIZE@/ Replace /@WORDSIZE@/ "32"' {srcdir}bfd-in2.h >bfd.h-new | |
6 | MoveIfChange bfd.h-new bfd.h | |
7 | ||
8 | #DupIfChange {srcdir}mpw.bfd.h bfd.h | |
9 | ||
10 | Echo "#ifndef __va_list__" >varargs.h | |
11 | Echo "#define __va_list__" >>varargs.h | |
12 | Echo "typedef char *va_list;" >>varargs.h | |
13 | Echo "#endif" >>varargs.h | |
14 | Echo "#define va_dcl int va_alist;" >>varargs.h | |
15 | Echo "#define va_start(list) list = (char *) &va_alist" >>varargs.h | |
16 | Echo "#define va_end(list)" >>varargs.h | |
17 | Echo "#define va_arg(list,mode) ((mode *)(list += sizeof(mode)))[-1]" >>varargs.h |