$NetBSD: patch-ae,v 1.10 2011/06/02 07:06:11 adam Exp $

--- common/unicode/umachine.h.orig	2011-05-23 21:56:00.000000000 +0000
+++ common/unicode/umachine.h
@@ -43,7 +43,7 @@
 
 #if defined(U_PALMOS)
 #   include "unicode/ppalmos.h"
-#elif /*!defined(__MINGW32__) && */(defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64))
+#elif /*!defined(__MINGW32__) && */ !defined(__NetBSDPE__) && (defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64))
 /*
  * platform.h is now also generated by MSVC Solution/Project files
  * from platform.win and should always be included unless you are
