pkgsrc/sysutils/heirloom-doc/patches/patch-aq
cheusov 3a0f242483 The Heirloom Project provides traditional implementations of standard
Unix utilities. In many cases, they have been derived from original
Unix material released as Open Source by Caldera and Sun.
2011-05-27 22:57:42 +00:00

20 lines
683 B
Text

$NetBSD: patch-aq,v 1.1.1.1 2011/05/27 22:57:42 cheusov Exp $
Fix for Interix 3.5
--- libcommon/memalign.h.orig Sun Jan 22 21:06:14 2006
+++ libcommon/memalign.h
@@ -26,10 +26,10 @@
#if defined (__FreeBSD__) || defined (__dietlibc__) || defined (_AIX) || \
defined (__NetBSD__) || defined (__OpenBSD__) || \
- defined (__DragonFly__) || defined (__APPLE__)
+ defined (__DragonFly__) || defined (__APPLE__) || defined (__INTERIX)
#include <stdlib.h>
-
+#define HAVE_NO_MEMALIGN 1
extern void *memalign(size_t, size_t);
-#endif /* __FreeBSD__ || __dietlibc__ || _AIX || __NetBSD__ || __OpenBSD__ ||
- __DragonFly__ || __APPLE__ */
+#endif
+
#endif /* !LIBCOMMON_MEMALIGN_H */