use macro instead of a symbol for debugging, if C99
diff --git a/skeletons/asn_internal.h b/skeletons/asn_internal.h
index 7c9325c..ebf44f9 100644
--- a/skeletons/asn_internal.h
+++ b/skeletons/asn_internal.h
@@ -59,7 +59,11 @@
 #define	ASN_DEBUG	ASN_DEBUG_f
 #endif	/* __GNUC__ */
 #else	/* EMIT_ASN_DEBUG != 1 */
+#if __STDC_VERSION__ >= 199901L
+#define ASN_DEBUG(...) do{}while(0)
+#else   /* not C99 */
 static void ASN_DEBUG(const char *fmt, ...) { (void)fmt; }
+#endif  /* C99 or better */
 #endif	/* EMIT_ASN_DEBUG */
 #endif	/* ASN_DEBUG */