]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/debug.h
Merge changes from CUPS 1.4svn-r8492.
[thirdparty/cups.git] / cups / debug.h
index 4efd1619c746ff59934325f6e01766d9975c17b2..0d81b46cb12a89f1155f2ee39a0b0b52b9718993 100644 (file)
 #ifndef _CUPS_DEBUG_H_
 #  define _CUPS_DEBUG_H_
 
+/*
+ * C++ magic...
+ */
+
+#  ifdef __cplusplus
+extern "C" {
+#  endif /* __cplusplus */
+
+
 /*
  * The debug macros are used if you compile with DEBUG defined.
  *
@@ -50,6 +59,9 @@ __attribute__ ((__format__ (__printf__, 1, 2)))
 ;
 extern void    _cups_debug_puts(const char *s);
 
+#  ifdef __cplusplus
+}
+#  endif /* __cplusplus */
 
 #endif /* !_CUPS_DEBUG_H_ */