]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sunrpc/rpc/types.h
Update.
[thirdparty/glibc.git] / sunrpc / rpc / types.h
index fc3d7d5302fc57009ee1a4f44be4fba60513c0a4..fbfda1a3db52eaa7c7e9009946ae60dfe1e49fda 100644 (file)
 #ifndef __TYPES_RPC_HEADER__
 #define __TYPES_RPC_HEADER__
 
-#define        bool_t  int
-#define        enum_t  int
-#define        FALSE   (0)
-#define        TRUE    (1)
-#define __dontcare__   -1
+typedef int bool_t;
+typedef int enum_t;
+
+#define        __dontcare__    -1
+
+#ifndef FALSE
+#      define  FALSE   (0)
+#endif
+
+#ifndef TRUE
+#      define  TRUE    (1)
+#endif
+
 #ifndef NULL
-#      define NULL 0
+#      define  NULL 0
 #endif
 
 #include <stdlib.h>            /* For malloc decl.  */