$NetBSD: patch-ac,v 1.1 2005/09/17 20:37:29 wiz Exp $

--- os.hpp.orig	2005-08-03 18:34:30.000000000 +0200
+++ os.hpp
@@ -133,7 +133,8 @@
 
 #endif
 
-#ifdef _UNIX
+/*#ifdef _UNIX */
+#if defined(__unix) || defined(__unix__) || defined(_UNIX)
 
 #define  NM  1024
 
@@ -208,6 +209,12 @@
   #endif
 #endif
 
+#if defined(__i386) || defined(i386) || defined(__i386__)
+  #ifndef LITTLE_ENDIAN
+     #define LITTLE_ENDIAN
+  #endif
+#endif
+
 #endif
 
 typedef const char* MSGID;
