diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-05-26 14:23:27 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-05-26 14:23:27 (GMT) |
commit | cea93c4a37a8ec0adc0dd769c9d8affc49078398 (patch) | |
tree | cf8b3bfce94d499969a145517763f1bbfafa1015 /src/H5private.h | |
parent | 965e459a9861326b3d3c3455c332d2bbca52bd87 (diff) | |
download | hdf5-cea93c4a37a8ec0adc0dd769c9d8affc49078398.zip hdf5-cea93c4a37a8ec0adc0dd769c9d8affc49078398.tar.gz hdf5-cea93c4a37a8ec0adc0dd769c9d8affc49078398.tar.bz2 |
[svn-r27111] move undef of __attribute__ back to private and remove its usage from public routines.
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h index 66bf7eb..0987ce9 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -279,6 +279,7 @@ * big deal if we don't. */ #ifdef __cplusplus +# define __attribute__(X) /*void*/ # define UNUSED /*void*/ # define NORETURN /*void*/ #else /* __cplusplus */ @@ -286,6 +287,7 @@ # define UNUSED __attribute__((unused)) # define NORETURN __attribute__((noreturn)) #else +# define __attribute__(X) /*void*/ # define UNUSED /*void*/ # define NORETURN /*void*/ #endif |