]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
Add conditional check around definition of uchar_t to
authorMandy Kirkconnell <alkirkco@sgi.com>
Mon, 17 Mar 2003 15:18:51 +0000 (15:18 +0000)
committerMandy Kirkconnell <alkirkco@sgi.com>
Mon, 17 Mar 2003 15:18:51 +0000 (15:18 +0000)
prevent multiple definitions.
Add conditional check around definition of uchar_t to
prevent multiple definitions.

include/platform_defs.h.in

index d4cac9b4954472308cb3afd470d74a1ca05f31a2..01940d89ee4cf719097fec5ff9602130ff0643b5 100644 (file)
@@ -82,7 +82,10 @@ typedef __uint32_t   xfs_dev_t;
 typedef __int64_t      xfs_daddr_t;
 typedef char*          xfs_caddr_t;
 
+#ifndef        _UCHAR_T_DEFINED
 typedef unsigned char  uchar_t;
+#define        _UCHAR_T_DEFINED        1
+#endif
 typedef enum { B_FALSE,B_TRUE }        boolean_t;
 
 #endif