blob: a48592d7a39caaa732c7b7d8fc502e389a320642 (
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.4 2003/10/28 12:33:48 cube Exp $
--- include/platform.h.orig 2003-06-10 08:57:04.000000000 +0200
+++ include/platform.h
@@ -48,7 +48,7 @@ extern "C" {
Contributed by Todd Lewis.
*/
-/* #define SUPPORT_GETPWNAM */
+#define SUPPORT_GETPWNAM
/* Enable/disable support for Big5 and Shift_JIS character encodings */
@@ -496,7 +496,7 @@ extern "C" {
#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)
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
|