From: Mandy Kirkconnell Date: Mon, 17 Mar 2003 15:18:51 +0000 (+0000) Subject: Add conditional check around definition of uchar_t to X-Git-Tag: XFS-1_3_0pre1~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eebd842dfd9e6c94e11b157fb4f9a331a54168b1;p=thirdparty%2Fxfsprogs-dev.git Add conditional check around definition of uchar_t to prevent multiple definitions. Add conditional check around definition of uchar_t to prevent multiple definitions. --- diff --git a/include/platform_defs.h.in b/include/platform_defs.h.in index d4cac9b49..01940d89e 100644 --- a/include/platform_defs.h.in +++ b/include/platform_defs.h.in @@ -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