diff options
author | Ruediger Meier | 2016-03-21 14:04:42 +0100 |
---|---|---|
committer | Karel Zak | 2016-03-21 21:03:41 +0100 |
commit | a5b3be92c6d5fb5335c6de57bf1ba16e9699a1de (patch) | |
tree | 232a3b4990e3ca58753231a65728d536d6b3b498 /libmount/python/pylibmount.h | |
parent | build-sys: some libmount test progs are Linux only (diff) | |
download | kernel-qcow2-util-linux-a5b3be92c6d5fb5335c6de57bf1ba16e9699a1de.tar.gz kernel-qcow2-util-linux-a5b3be92c6d5fb5335c6de57bf1ba16e9699a1de.tar.xz kernel-qcow2-util-linux-a5b3be92c6d5fb5335c6de57bf1ba16e9699a1de.zip |
build-sys: pylibmount, mount context is Linux only
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libmount/python/pylibmount.h')
-rw-r--r-- | libmount/python/pylibmount.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmount/python/pylibmount.h b/libmount/python/pylibmount.h index 1a08796dc..7a37014f1 100644 --- a/libmount/python/pylibmount.h +++ b/libmount/python/pylibmount.h @@ -94,6 +94,8 @@ extern void Table_AddModuleObject(PyObject *mod); extern int pymnt_table_parser_errcb(struct libmnt_table *tb, const char *filename, int line); +#ifdef __linux__ + /* * context.c */ @@ -108,6 +110,8 @@ typedef struct { extern PyTypeObject ContextType; extern void Context_AddModuleObject(PyObject *mod); +#endif /* __linux__ */ + /* * misc */ |