From eebd842dfd9e6c94e11b157fb4f9a331a54168b1 Mon Sep 17 00:00:00 2001 From: Mandy Kirkconnell Date: Mon, 17 Mar 2003 15:18:51 +0000 Subject: [PATCH] Add conditional check around definition of uchar_t to prevent multiple definitions. Add conditional check around definition of uchar_t to prevent multiple definitions. --- include/platform_defs.h.in | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.47.2