diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | src/gpg-error.h | 2 |
3 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2003-11-03 Werner Koch <[email protected]> + + * src/gpg-error.h: Allow GPG_ERR_INLINE to get overriden, so that + one can use the -D flag to specify the inline keyword. Suggested + by Philip Brown. + 2003-10-28 Moritz Schulte <[email protected]> * src/gpg-error.h (gpg_err_code_t): Added: @@ -1,6 +1,11 @@ Noteworthy changes in version 0.6 (unreleased) ---------------------------------------------- + * It is now possible to use the inline functions even for non C99 + compliant compilers by given e.g. -DGPG_ERR_INLINE=inline when + compiling an application using this library. Note, that gcc will + use inline anyway. + Noteworthy changes in version 0.5 (2003-10-06) ---------------------------------------------- diff --git a/src/gpg-error.h b/src/gpg-error.h index 74121bb..2491301 100644 --- a/src/gpg-error.h +++ b/src/gpg-error.h @@ -28,7 +28,9 @@ #elif __STDC_VERSION__ >= 199901L #define GPG_ERR_INLINE inline #else +#ifndef GPG_ERR_INLINE #define GPG_ERR_INLINE +#endif #endif /* The GnuPG project consists of many components. Error codes are |