diff options
author | Werner Koch <wk@gnupg.org> | 2013-08-30 17:52:17 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2013-09-04 11:25:06 +0200 |
commit | b28b1f732e1b4f9c62a9de87c22c6bb0d3f8fdb8 (patch) | |
tree | dd1748be1b29a2db6c5e35133e7505f86439a379 /src/gcrypt-int.h | |
parent | 4b0edf53440239d3bcc95941980c062a0801a149 (diff) | |
download | libgcrypt-b28b1f732e1b4f9c62a9de87c22c6bb0d3f8fdb8.tar.gz |
Do not check with cpp for typedefed constants.
* src/gcrypt-int.h: Include error code replacements depeding on the
version of libgpg-error.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'src/gcrypt-int.h')
-rw-r--r-- | src/gcrypt-int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gcrypt-int.h b/src/gcrypt-int.h index 33969fe0..295328b5 100644 --- a/src/gcrypt-int.h +++ b/src/gcrypt-int.h @@ -28,7 +28,7 @@ /* These error codes are used but not defined in the required libgpg-error 1.11. Define them here. */ -#ifndef GPG_ERR_NO_CRYPT_CTX +#if GPG_ERROR_VERSION_NUMBER < 0x010c00 /* 1.12 */ # define GPG_ERR_NO_CRYPT_CTX 191 # define GPG_ERR_WRONG_CRYPT_CTX 192 # define GPG_ERR_BAD_CRYPT_CTX 193 |