From e037fd3364096fa5551dc1806bd1a1c48d6ccd34 Mon Sep 17 00:00:00 2001 From: Christian Jullien Date: Mon, 26 Sep 2016 07:02:42 +0200 Subject: pstrcpy looks to be needed by Windows win32/win64 builds. Reverted as PUB_FUNC to allow tcc.exe build again. --- libtcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtcc.c') diff --git a/libtcc.c b/libtcc.c index 7b675c2..d367ed1 100644 --- a/libtcc.c +++ b/libtcc.c @@ -135,7 +135,7 @@ BOOL WINAPI DllMain (HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved) /********************************************************/ /* copy a string and truncate it. */ -ST_FUNC char *pstrcpy(char *buf, int buf_size, const char *s) +PUB_FUNC char *pstrcpy(char *buf, int buf_size, const char *s) { char *q, *q_end; int c; -- cgit v1.3.1