aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2015-05-10 11:37:36 +0300
committerseyko <seyko2@gmail.com>2015-05-10 11:37:36 +0300
commitcb7e820eaebed7963196f3ef90e2e1e945abec8d (patch)
tree763f6300a4339e07ee0359f5035a8a47eed43d61 /tcc.h
parentff06d4258eb4862b6ab01999d07fc4a888f0295c (diff)
downloadtinycc-cb7e820eaebed7963196f3ef90e2e1e945abec8d.tar.gz
tinycc-cb7e820eaebed7963196f3ef90e2e1e945abec8d.tar.bz2
tcc_add_dll is not used if TCC_TARGET_PE
after "tccpp: fix issues, add tests"
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tcc.h b/tcc.h
index 314045b..7d685ab 100644
--- a/tcc.h
+++ b/tcc.h
@@ -1118,7 +1118,11 @@ ST_FUNC void tcc_close(void);
ST_FUNC int tcc_add_file_internal(TCCState *s1, const char *filename, int flags, int filetype);
ST_FUNC int tcc_add_crt(TCCState *s, const char *filename);
+
+#ifndef TCC_TARGET_PE
ST_FUNC int tcc_add_dll(TCCState *s, const char *filename, int flags);
+#endif
+
ST_FUNC void tcc_add_pragma_libs(TCCState *s1);
PUB_FUNC int tcc_add_library_err(TCCState *s, const char *f);