summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/src/glfs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/api/src/glfs.h b/api/src/glfs.h
index 964422aab72..41907240dd7 100644
--- a/api/src/glfs.h
+++ b/api/src/glfs.h
@@ -42,6 +42,15 @@
#include <dirent.h>
#include <sys/statvfs.h>
+/* Portability non glibc c++ build systems */
+#ifndef __THROW
+# if defined __cplusplus
+# define __THROW throw ()
+# else
+# define __THROW
+# endif
+#endif
+
__BEGIN_DECLS
/* The filesystem object. One object per 'virtual mount' */