Permalink
Browse files

Added support for GNUC_NULL_TERMINATED

  • Loading branch information...
1 parent f09cfb8 commit ab6681bfc3ba5b8fe06391c5becec4eb14a37aa6 Benjamin Moll committed Nov 17, 2007
Showing with 8 additions and 0 deletions.
  1. +8 −0 LaTeX.h
View
8 LaTeX.h
@@ -31,6 +31,14 @@
*/
#ifndef _PIDGIN_LATEX_H_
#define _PIDGIN_LATEX_H_
+#ifndef G_GNUC_NULL_TERMINATED
+# if __GNUC__ >= 4
+# define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__))
+# else
+# define G_GNUC_NULL_TERMINATED
+# endif /* __GNUC__ >= 4 */
+#endif /* G_GNUC_NULL_TERMINATED */
+
#define PURPLE_PLUGINS
//include

0 comments on commit ab6681b

Please sign in to comment.