aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-11-03 12:43:56 +0000
committerWerner Koch <[email protected]>2003-11-03 12:43:56 +0000
commit8a00a3280ee8fe625cd0590fdbc291b44745b20d (patch)
tree60569c706a6770747d0ad713587a16834b2f477f /src
parent2003-10-28 Moritz Schulte <[email protected]> (diff)
downloadlibgpg-error-8a00a3280ee8fe625cd0590fdbc291b44745b20d.tar.gz
libgpg-error-8a00a3280ee8fe625cd0590fdbc291b44745b20d.zip
Allow GPG_ERR_INLINE to get overriden, so that
one can use the -D flag to specify the inline keyword. Suggested by Philip Brown.
Diffstat (limited to 'src')
-rw-r--r--src/gpg-error.h2
1 files changed, 2 insertions, 0 deletions
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