Imported Upstream version 0.6.27
[platform/upstream/libsolv.git] / src / poolarch.h
index 9f5829d..3fe5f02 100644 (file)
 
 #include "pool.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 extern void pool_setarch(Pool *, const char *);
 extern void pool_setarchpolicy(Pool *, const char *);
 extern unsigned char pool_arch2color_slow(Pool *pool, Id arch);
@@ -36,4 +40,8 @@ static inline int pool_colormatch(Pool *pool, Solvable *s1, Solvable *s2)
   return 0;
 }
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* LIBSOLV_POOLARCH_H */