aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard>2002-08-18 13:24:03 +0000
committerbellard <bellard>2002-08-18 13:24:03 +0000
commitf5b9220b60b353494bb137c095ae55ffb6d01db5 (patch)
tree1e4db6942e052c57770e76ac0a80a8cdd5b2dd11
parent53834650fbd4e0859fb4ed8072e5c1381ee695dd (diff)
downloadtinycc-f5b9220b60b353494bb137c095ae55ffb6d01db5.tar.gz
tinycc-f5b9220b60b353494bb137c095ae55ffb6d01db5.tar.bz2
added tcc_add_sysinclude_path()
-rw-r--r--libtcc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libtcc.h b/libtcc.h
index 7b884a1..df066bd 100644
--- a/libtcc.h
+++ b/libtcc.h
@@ -20,6 +20,9 @@ void tcc_enable_debug(TCCState *s);
/* add include path */
int tcc_add_include_path(TCCState *s, const char *pathname);
+/* add in system include path */
+int tcc_add_sysinclude_path(TCCState *s, const char *pathname);
+
/* define preprocessor symbol 'sym'. Can put optional value */
void tcc_define_symbol(TCCState *s, const char *sym, const char *value);
@@ -43,7 +46,7 @@ int tcc_get_error(TCCState *s, char *buf, int buf_size);
/*****************************/
/* linking commands */
-/* set output type. Must be called before any compilation */
+/* set output type. MUST BE CALLED before any compilation */
#define TCC_OUTPUT_MEMORY 0 /* output will be ran in memory (no
output file) (default) */
#define TCC_OUTPUT_EXE 1 /* executable file */