blob: 97748af354741b4afe5729bd6d72ddfaf2796f18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ab,v 1.5 2004/08/30 18:48:57 reed Exp $
--- include/platform.h.orig Fri Mar 19 00:00:57 2004
+++ include/platform.h Sat Aug 28 15:41:12 2004
@@ -48,7 +48,7 @@
Contributed by Todd Lewis.
*/
-/* #define SUPPORT_GETPWNAM */
+#define SUPPORT_GETPWNAM
/* Enable/disable support for Big5 and Shift_JIS character encodings */
@@ -497,7 +497,7 @@
#if !defined(HPUX_OS) && !defined(CYGWIN_OS) && !defined(MAC_OS_X) && !defined(BE_OS) && !defined(SOLARIS_OS) && !defined(BSD_BASED_OS) && !defined(OSF_OS) && !defined(IRIX_OS) && !defined(AIX_OS) && !defined(LINUX_OS)
typedef unsigned int uint;
#endif
-#if defined(HPUX_OS) || defined(CYGWIN_OS) || defined(MAC_OS) || defined(BSD_BASED_OS) || defined(_WIN32)
+#if defined(HPUX_OS) || defined(CYGWIN_OS) || defined(MAC_OS) || (defined(BSD_BASED_OS) && !defined(__NetBSD__)) || defined(_WIN32)
typedef unsigned long ulong;
#endif
|