/********************************************************************
* COPYRIGHT:
- * Copyright (C) 2001-2005 IBM, Inc. All Rights Reserved.
+ * Copyright (C) 2001-2011 IBM, Inc. All Rights Reserved.
*
********************************************************************/
/********************************************************************************
#include <unicode/brkiter.h>
-#ifdef U_WINDOWS
+#if U_PLATFORM_HAS_WIN32_API
#include <windows.h>
#else
//
-#ifdef U_DARWIN
+#if U_PLATFORM_IS_DARWIN_BASED
#include <ApplicationServices/ApplicationServices.h>
enum{
kUCTextBreakAllMask = (kUCTextBreakClusterMask | kUCTextBreakWordMask | kUCTextBreakLineMask)
elapsedTime = timeGetTime()-startTime;
} else if(opt_mac) {
-#ifdef U_DARWIN
+#if U_PLATFORM_IS_DARWIN_BASED
createMACBrkIt();
UniChar* filePtr = text;
OSStatus status = noErr;