* tests/test_cpp.cc (GC_API_PRIV): New macro (same definition as in
gc_priv.h).
* tests/test_cpp.cc (GC_printf): Use GC_API_PRIV instead of GC_API.
extern "C" {
# include "private/gcconfig.h"
- GC_API void GC_printf(const char *format, ...);
+
+# ifndef GC_API_PRIV
+# define GC_API_PRIV GC_API
+# endif
+ GC_API_PRIV void GC_printf(const char * format, ...);
/* Use GC private output to reach the same log file. */
/* Don't include gc_priv.h, since that may include Windows system */
/* header files that don't take kindly to this context. */