diff options
Diffstat (limited to 'api/src/glfs-handles.h')
-rw-r--r-- | api/src/glfs-handles.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/api/src/glfs-handles.h b/api/src/glfs-handles.h index 0270897604e..a6c6c0a3443 100644 --- a/api/src/glfs-handles.h +++ b/api/src/glfs-handles.h @@ -60,6 +60,15 @@ * glfs_h_create_from_handle */ #define GFAPI_HANDLE_LENGTH 16 +/* Portability non glibc c++ build systems */ +#ifndef __THROW +# if defined __cplusplus +# define __THROW throw () +# else +# define __THROW +# endif +#endif + __BEGIN_DECLS /* |