History

tccrun: resign from "advanced" system calls (memaligh/gettid)

... let's stay compatible

grischka committed 2 years ago

Commit 4e91d381 parent d2f8cea4 files · +5 −49Browse files

Showing the changes to libtcc.c (1 of 4 files). Show all

Unified · Split

libtcc.c+1−1
@@ -242,7 +242,7 @@ static void *(*reallocator)(void*, unsigned long) = default_reallocator; · 241 unmodified lines
242 242
243LIBTCCAPI void tcc_set_realloc(TCCReallocFunc *realloc)243LIBTCCAPI void tcc_set_realloc(TCCReallocFunc *realloc)
244{244{
245 reallocator = realloc;245 reallocator = realloc ? realloc : default_reallocator;
246}246}
247 247
248/* in case MEM_DEBUG is #defined */248/* in case MEM_DEBUG is #defined */

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