]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
I hope that's ok to get the bindings going
authorStephan Kulow <coolo@suse.de>
Fri, 30 Nov 2007 11:24:27 +0000 (11:24 +0000)
committerStephan Kulow <coolo@suse.de>
Fri, 30 Nov 2007 11:24:27 +0000 (11:24 +0000)
src/pool.h

index 592cb662915e98de3649da4211db955e47d2c9f4..32159ae7cd57778a6426dab3fd6a25d534e97ca7 100644 (file)
@@ -154,7 +154,11 @@ extern Pool *pool_create(void);
  */
 extern void pool_free(Pool *pool);
 
-extern void pool_debug(Pool *pool, int type, const char *format, ...) __attribute__((format(printf, 3, 4)));
+extern void pool_debug(Pool *pool, int type, const char *format, ...)
+#ifdef __GNUC__
+ __attribute__((format(printf, 3, 4)))
+#endif
+;
 
 /**
  * Solvable management