X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Fstdio.h;h=884d2e6a72768b5ea0d78fb1aef88abd969ba92b;hb=8735a921d0242be0d7e6dbe0f76f79e09d4f06dd;hp=ad407fb143e8c0e3565f9bf4cba461d175f40d39;hpb=b823ef2db13a5d86df03bcf6bfd4b92559c0b154;p=musl diff --git a/include/stdio.h b/include/stdio.h index ad407fb1..884d2e6a 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -21,7 +21,11 @@ extern "C" { #include +#ifdef __cplusplus #define NULL 0L +#else +#define NULL ((void*)0) +#endif #undef EOF #define EOF (-1) @@ -43,7 +47,7 @@ extern "C" { #define TMP_MAX 10000 #define L_tmpnam 20 -typedef union { +typedef union _G_fpos64_t { char __opaque[16]; double __align; } fpos_t;