21e1dab6b1
New features include: * PDF, DocBook/XML, XHTML and Macromedia Flash (SWF) export * Accessibility * Support for Complex Text Layout (CTL) * User installation automated
24 lines
643 B
Text
24 lines
643 B
Text
$NetBSD: patch-ad,v 1.2 2004/05/03 20:56:36 mrauch Exp $
|
|
|
|
--- ../sal/osl/unx/system.c.orig 2004-04-17 19:24:56.000000000 +0200
|
|
+++ ../sal/osl/unx/system.c
|
|
@@ -460,7 +460,7 @@ struct hostent *gethostbyname_r(const ch
|
|
return res;
|
|
}
|
|
|
|
-#if defined(MACOSX)
|
|
+#if defined(MACOSX) || defined(NETBSD)
|
|
/*
|
|
* This section works around calls that are missing or broken
|
|
* in MacOS X 10.1.x and earlier.
|
|
@@ -504,6 +504,10 @@ int readdir_r( DIR *dirp, struct dirent
|
|
return nRet;
|
|
}
|
|
|
|
+#endif
|
|
+
|
|
+#if defined(MACOSX)
|
|
+
|
|
/* No reentrant asctime() either... */
|
|
|
|
/*******************************************************************************/
|