History

x86_64-tcc and libtcc1.c: size_t definition is needed for a x86_64-tcc to parse memset()

seyko committed 11 years ago

Commit 7f36abd1 parent e374a731 file · +2 −1Browse files

Unified · Split

lib/libtcc1.c+2−1
@@ -630,8 +630,9 @@ long long __fixxfdi (long double a1) · 629 unmodified lines
630#else630#else
631/* Avoid including stdlib.h because it is not easily available when631/* Avoid including stdlib.h because it is not easily available when
632 cross compiling */632 cross compiling */
633#include <stddef.h> /* size_t definition is needed for a x86_64-tcc to parse memset() */
633extern void *malloc(unsigned long long);634extern void *malloc(unsigned long long);
634void *memset(void *s, int c, size_t n);635extern void *memset(void *s, int c, size_t n);
635extern void free(void*);636extern void free(void*);
636extern void abort(void);637extern void abort(void);
637#endif638#endif

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