14 lines
413 B
Text
14 lines
413 B
Text
|
--- src/strlib.c.orig Sun Oct 24 20:17:41 2004
|
||
|
+++ src/strlib.c Sun Oct 24 20:18:37 2004
|
||
|
@@ -37,6 +37,10 @@
|
||
|
#define FALSE 0
|
||
|
#define TRUE 1
|
||
|
|
||
|
+#ifdef __OpenBSD__
|
||
|
+#define G_VA_COPY(ap1, ap2) va_copy(ap1, ap2)
|
||
|
+#endif
|
||
|
+
|
||
|
#if !defined (G_VA_COPY)
|
||
|
# if defined (__GNUC__) && defined (__PPC__) && (defined (_CALL_SYSV) || defined (_WIN32)) || defined(__s390__)
|
||
|
# define G_VA_COPY(ap1, ap2) (*(ap1) = *(ap2))
|