mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
need these stubs if you are using a linux toolchain
This commit is contained in:
parent
504933f27b
commit
9de2fc5997
@ -48,20 +48,22 @@
|
||||
printf("): %d\n", sizeof(x)); \
|
||||
} while(0)
|
||||
|
||||
/* FILE *stderr; */
|
||||
#if (__linux__)
|
||||
FILE *stderr;
|
||||
|
||||
/* void __assert_fail(void) { */
|
||||
/* return; */
|
||||
/* } */
|
||||
void __assert_fail(void) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* int fputs(const char *s, FILE *stream) { */
|
||||
/* return 0; */
|
||||
/* } */
|
||||
int fputs(const char *s, FILE *stream) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* size_t fwrite(const void *ptr, size_t size, size_t nmemb, */
|
||||
/* FILE *stream) { */
|
||||
/* return 0; */
|
||||
/* } */
|
||||
size_t fwrite(const void *ptr, size_t size, size_t nmemb,
|
||||
FILE *stream) {
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
int main(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user