diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-05-26 14:35:09 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-05-26 14:35:09 (GMT) |
commit | 644b9071c0e1cdbd6878e94e479c95080ba843e6 (patch) | |
tree | b026b655ab6d1b8be46eb685ef970e2e8a8daad4 /src/H5private.h | |
parent | c65afd94acf959ab6bdee30dea5270f3ef072e1b (diff) | |
download | hdf5-644b9071c0e1cdbd6878e94e479c95080ba843e6.zip hdf5-644b9071c0e1cdbd6878e94e479c95080ba843e6.tar.gz hdf5-644b9071c0e1cdbd6878e94e479c95080ba843e6.tar.bz2 |
[svn-r27112] merge 27111 from trunk:
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 fce5474..2c36aee 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -280,6 +280,7 @@ * big deal if we don't. */ #ifdef __cplusplus +# define __attribute__(X) /*void*/ # define UNUSED /*void*/ # define NORETURN /*void*/ #else /* __cplusplus */ @@ -287,6 +288,7 @@ # define UNUSED __attribute__((unused)) # define NORETURN __attribute__((noreturn)) #else +# define __attribute__(X) /*void*/ # define UNUSED /*void*/ # define NORETURN /*void*/ #endif |