--- 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){