SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
net/weex/patches/patch-src_strlib_c
Normal file
13
net/weex/patches/patch-src_strlib_c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- 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))
|
Loading…
Add table
Add a link
Reference in a new issue