summaryrefslogtreecommitdiff
path: root/user/grfcodec/va_copy.patch
blob: 04a549d60e89ab8a922751fd2ac19b3c329d72de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- grfcodec-6.0.6/src/sanity_defines.h.old	2015-05-09 10:59:46.000000000 +0000
+++ grfcodec-6.0.6/src/sanity_defines.h	2019-01-14 19:17:36.690000000 +0000
@@ -77,10 +77,10 @@
 	~apWrapper(){va_end(_ap);}
 	operator va_list&(){return _ap;}
 	operator const va_list&()const{return _ap;}
-#ifdef __va_copy
+#ifdef va_copy
 	va_list&operator=(va_list&ap){
-	    __va_copy(_ap,ap);
-		return _ap;
+	    va_copy(_ap,ap);
+	    return _ap;
 	}
 #else
 	va_list const&operator=(va_list const&ap){