mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-12 04:15:06 -05:00
Allowed C++ usage (patch from VMiklos <vmiklos@frugalware.org>)
This commit is contained in:
parent
a1b005d239
commit
7df7ca1738
@ -21,6 +21,10 @@
|
||||
#ifndef _ALPM_H
|
||||
#define _ALPM_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Arch Linux Package Management library
|
||||
*/
|
||||
@ -364,6 +368,10 @@ extern enum __pmerrno_t {
|
||||
|
||||
char *alpm_strerror(int err);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _ALPM_H */
|
||||
|
||||
/* vim: set ts=2 sw=2 noet: */
|
||||
|
Loading…
Reference in New Issue
Block a user