History

pstrcpy looks to be needed by Windows win32/win64 builds. Reverted as PUB_FUNC to allow tcc.exe build again.

Christian Jullien committed 10 years ago

Commit e037fd31 parent 6db7a212 files · +2 −2Browse files

Unified · Split

2 files
  1. libtcc.c +1 −1
  2. tcc.h +1 −1
libtcc.c+1−1
@@ -135,7 +135,7 @@ BOOL WINAPI DllMain (HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved) · 134 unmodified lines
135135
136136 /********************************************************/
137137 /* copy a string and truncate it. */
138−ST_FUNC char *pstrcpy(char *buf, int buf_size, const char *s)
138+PUB_FUNC char *pstrcpy(char *buf, int buf_size, const char *s)
139139 {
140140 char *q, *q_end;
141141 int c;
tcc.h+1−1
@@ -1167,7 +1167,7 @@ ST_DATA struct TCCState *tcc_state; · 1166 unmodified lines
11671167 #define AFF_PREPROCESS 0x0004 /* preprocess file */
11681168
11691169 /* public functions currently used by the tcc main function */
1170−ST_FUNC char *pstrcpy(char *buf, int buf_size, const char *s);
1170+PUB_FUNC char *pstrcpy(char *buf, int buf_size, const char *s);
11711171 ST_FUNC char *pstrcat(char *buf, int buf_size, const char *s);
11721172 ST_FUNC char *pstrncpy(char *out, const char *in, size_t num);
11731173 PUB_FUNC char *tcc_basename(const char *name);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t