From 7acf9aa86275a24b468786d6ea9f308ae33f011c Mon Sep 17 00:00:00 2001 From: grischka Date: Tue, 25 Apr 2017 21:01:54 +0200 Subject: final adjustments for release - configure/Makefiles: minor adjustments - build-tcc.bat: add -static to gcc options (avoids libgcc_s*.dll dependency with some mingw versions) - tccpe.c/tcctools.c: eliminate MAX_PATH (not available for cross compilers) - tccasm.c: use uint64_t/strtoull in unary() (unsigned long sometimes is only uint32_t, as always on windows) - tccgen.c: Revert (f077d16c) "tccgen: gen_cast: cast FLOAT to DOUBLE" Was a rather experimental, tentative commit, not really necessary and somewhat ugly too. - cleanup recent osx support: - Makefile/libtcc.c: cleanup copy&paste code - tccpp.c: restore deleted function --- tcctools.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tcctools.c') diff --git a/tcctools.c b/tcctools.c index 235b783..21aa2a7 100644 --- a/tcctools.c +++ b/tcctools.c @@ -304,15 +304,15 @@ the_end: ST_FUNC int tcc_tool_impdef(TCCState *s1, int argc, char **argv) { int ret, v, i; - char infile[MAX_PATH]; - char outfile[MAX_PATH]; + char infile[260]; + char outfile[260]; const char *file; char *p, *q; FILE *fp, *op; #ifdef _WIN32 - char path[MAX_PATH]; + char path[260]; #endif infile[0] = outfile[0] = 0; -- cgit v1.3.1