Explorar o código

don't pretend to be reentrant yet

Eric Andersen %!s(int64=23) %!d(string=hai) anos
pai
achega
801c69a418
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      libc/inet/rpc/rcmd.c

+ 6 - 0
libc/inet/rpc/rcmd.c

@@ -37,6 +37,12 @@ static char sccsid[] = "@(#)rcmd.c	8.3 (Berkeley) 3/26/94";
 
 #define __FORCE_GLIBC
 #include <features.h>
+
+#ifdef _LIBC_REENTRANT
+#undef _LIBC_REENTRANT
+#warning FIXME I am not reentrant yet...
+#endif
+
 #define __USE_GNU
 #include <ctype.h>
 #include <stdio.h>