summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--NEWS9
-rw-r--r--configure.ac2
-rw-r--r--src/gpg-error.h4
4 files changed, 21 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2f41e84..afc634e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-09-03 Marcus Brinkmann <marcus@g10code.de>
+
+ Released 0.4.
+
+ * src/gpg-error.h: Define GPG_ERR_INLINE to nothing if the
+ compiler does not implement C99.
+ * configure.ac: (AC_INIT): Bump up version number.
+
2003-09-02 Moritz Schulte <mo@g10code.com>
* src/gpg-error.h (gpg_err_code_t): Added: GPG_ERR_NO_PRIME.
diff --git a/NEWS b/NEWS
index b5cc136..b5b3956 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,12 @@
+Noteworthy changes in version 0.4 (2003-09-03)
+----------------------------------------------
+
+ * Fixed another bug that prevented that system errors were created
+ correctly in the first place.
+
+ * Use inline in public header file only on C99 compilers.
+
+
Noteworthy changes in version 0.3 (2003-07-31)
----------------------------------------------
diff --git a/configure.ac b/configure.ac
index 0ee03eb..5193674 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@
# (Process this file with autoconf to produce a configure script.)
# Version number: Remember to change it immediately *after* a release.
-AC_INIT(libgpg-error, 0.3, bug-gnupg@gnupg.org)
+AC_INIT(libgpg-error, 0.4, bug-gnupg@gnupg.org)
# LT Version numbers, remember to change them just *before* a release.
# (Code changed: REVISION++)
# (Interfaces added/removed/changed: CURRENT++, REVISION=0)
diff --git a/src/gpg-error.h b/src/gpg-error.h
index 260f135..96eaf9a 100644
--- a/src/gpg-error.h
+++ b/src/gpg-error.h
@@ -23,8 +23,10 @@
#ifdef __GNUC__
#define GPG_ERR_INLINE __inline__
-#else
+#elif __STDC_VERSION__ >= 199901L
#define GPG_ERR_INLINE inline
+#else
+#define GPG_ERR_INLINE
#endif
/* The GnuPG project consists of many components. Error codes are