aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2003-09-03 19:41:34 +0000
committerMarcus Brinkmann <[email protected]>2003-09-03 19:41:34 +0000
commit4ee4d2f9e72284ac3516a8e08c6ff2d452c2b2e3 (patch)
treecf790670dc0e576780404a758855e8cdbd54e875 /src
parent2003-09-02 Moritz Schulte <[email protected]> (diff)
downloadlibgpg-error-4ee4d2f9e72284ac3516a8e08c6ff2d452c2b2e3.tar.gz
libgpg-error-4ee4d2f9e72284ac3516a8e08c6ff2d452c2b2e3.zip
2003-09-03 Marcus Brinkmann <[email protected]>libgpg-error-0-4
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.
Diffstat (limited to 'src')
-rw-r--r--src/gpg-error.h4
1 files changed, 3 insertions, 1 deletions
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