blob: 2be2f2a62ca501f644c6701d424a17f612c10dcc (
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.14 2022/03/06 13:04:20 ryoon Exp $
Always use varargs on NetBSD
--- acconfig.h.orig 2014-04-26 10:58:46.000000000 +0000
+++ acconfig.h
@@ -498,6 +498,15 @@
*/
#undef USEVARARGS
+#ifdef __NetBSD__
+/*
+ * XXX gcc 3.3 on some NetBSD platforms fails the configure test for this
+ * so force it on anyway.
+ */
+#undef USEVARARGS
+#define USEVARARGS 1
+#endif
+
/*
* If the select return value doesn't treat a descriptor that is
* usable for reading and writing as two hits, define SELECT_BROKEN.
|