libpurple/protocols/zephyr/sysdep.h

changeset 39829
ce056c64e426
parent 39819
3554dac2991b
child 39830
c6fc1928c22c
--- a/libpurple/protocols/zephyr/sysdep.h	Mon Sep 16 19:37:11 2019 -0400
+++ b/libpurple/protocols/zephyr/sysdep.h	Mon Sep 16 19:50:39 2019 -0400
@@ -46,23 +46,7 @@
 #include <sys/cdefs.h>
 #endif
 
-/* Because we have public header files (and our prototypes need to agree with
- * those header files, use __STDC__ to guess whether the compiler can handle
- * stdarg, const, and prototypes. */
-#ifdef __STDC__
-# include <stdarg.h>
-# define VA_START(ap, last) va_start(ap, last)
-# ifndef __P
-#  define __P(x) x
-# endif
-#else
-# include <varargs.h>
-# define VA_START(ap, last) va_start(ap)
-# define const
-# ifndef __P
-#  define __P(x) ()
-# endif
-#endif
+#include <stdarg.h>
 
 /* openlog(). */
 #ifdef LOG_AUTH

mercurial