From d6861c7617a3d86a255da74d866e2c2ffcb136f8 Mon Sep 17 00:00:00 2001 From: Michael Ow Date: Thu, 15 Mar 2012 16:37:44 +0000 Subject: [PATCH] ICU-9197 Fix BSD platform detection X-SVN-Rev: 31619 --- icu4c/source/common/unicode/platform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/common/unicode/platform.h b/icu4c/source/common/unicode/platform.h index e1b815b777b..dccc7018e0d 100644 --- a/icu4c/source/common/unicode/platform.h +++ b/icu4c/source/common/unicode/platform.h @@ -1,7 +1,7 @@ /* ****************************************************************************** * -* Copyright (C) 1997-2011, International Business Machines +* Copyright (C) 1997-2012, International Business Machines * Corporation and others. All Rights Reserved. * ****************************************************************************** @@ -131,7 +131,7 @@ # include #elif defined(linux) || defined(__linux__) || defined(__linux) # define U_PLATFORM U_PF_LINUX -#elif defined(BSD) +#elif defined(BSD) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) # define U_PLATFORM U_PF_BSD #elif defined(sun) || defined(__sun) /* Check defined(__SVR4) || defined(__svr4__) to distinguish Solaris from SunOS? */ -- 2.40.0