aboutsummaryrefslogtreecommitdiff
path: root/tcc.c
diff options
context:
space:
mode:
authorYX Hao <lifenjoiner@163.com>2013-09-19 21:50:38 +0800
committerYX Hao <lifenjoiner@163.com>2013-09-19 21:50:38 +0800
commit642b6d0f50c6b6a842c9239a102fe34d5619e931 (patch)
tree60ca755ef6d92565ce21a9d4ca9baf8ebd146a0a /tcc.c
parent76cb1144ef91924c53c57ea71e6f67ce73ce1cc6 (diff)
downloadtinycc-642b6d0f50c6b6a842c9239a102fe34d5619e931.tar.gz
tinycc-642b6d0f50c6b6a842c9239a102fe34d5619e931.tar.bz2
Add the possibility to use noname functions by ordinal
tcc.c: process.h:177:20: note: expected 'char * const*' but argument is of type 'char const*const*' tccpe.c: Add the possibility to use noname functions by ordinal. use def file: "AliasName @n" build-tcc.bat: 1. Enable 32 bits mode on 64 bits OS. 2. build doc. _parseLibs.bat: Convenient to use "*.def + *.c" instead of *.a, just use -l* _tcc.bat: a practice of _parseLibs.bat Signed-off-by: YX Hao <lifenjoiner@163.com>
Diffstat (limited to 'tcc.c')
-rw-r--r--tcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcc.c b/tcc.c
index b223d39..58f9007 100644
--- a/tcc.c
+++ b/tcc.c
@@ -79,7 +79,7 @@ static void help(void)
#include <process.h>
static int execvp_win32(const char *prog, char **argv)
{
- int ret = spawnvp(P_NOWAIT, prog, (char const*const*)argv);
+ int ret = spawnvp(P_NOWAIT, prog, (char *const*)argv);
if (-1 == ret)
return ret;
cwait(&ret, ret, WAIT_CHILD);