Added package with the documentation and the examples
[lwc.git] / doc / fixincludes.nocpp
blobf52b0fed0330b54a2875bd4f651a7013fc344b23
1 #!/bin/sh
4 echo '
5 /*
6 If you want to use the builtin C preprocessor, uncomment the DO_CPP line
7 On a gcc system try the script fixincludes.gcc32
8 On anything else experiment with search_dirs/sys_defs
9 Currently the builtin preprocessor is disabled.
11 static const char *const search_dirs [] = {
12 "/usr/include",
16 /* Host compiler defines */
17 static const char sys_defs [] =
18 "#define __STDC__ 1\n"
19 "";
21 /* uncomment this to enable the builtin C preprocessor */
22 //#define DO_CPP
23 ' > SYS.h
25 echo "Made generic SYS.h with builtin preprocessor disabled"