Explorar o código

Re-add EOF to bits header

cbindgen can't handle negative numbers, see https://github.com/eqrion/cbindgen/issues/205
jD91mZM2 %!s(int64=6) %!d(string=hai) anos
pai
achega
b22d386177
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      include/bits/stdio.h

+ 2 - 0
include/bits/stdio.h

@@ -1,6 +1,8 @@
 #ifndef _BITS_STDIO_H
 #define _BITS_STDIO_H
 
+#define EOF (-1)
+
 typedef struct FILE FILE;
 
 int fprintf(FILE * stream, const char * fmt, ...);