common: Provide two new error code replacements.
authorWerner Koch <wk@gnupg.org>
Mon, 28 Sep 2015 16:13:37 +0000 (18:13 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 28 Sep 2015 16:40:38 +0000 (18:40 +0200)
* common/util.h (GPG_ERR_FALSE, GPG_ERR_TRUE): Rew replcements.

Signed-off-by: Werner Koch <wk@gnupg.org>
common/util.h

index 66749ea..af1a319 100644 (file)
 # define GPG_ERR_LDAP_ASSERTION_FAILED      890
 # define GPG_ERR_LDAP_PROX_AUTH_DENIED      891
 #endif /*GPG_ERROR_VERSION_NUMBER < 0x011300*/
+#if GPG_ERROR_VERSION_NUMBER < 0x011500  /* 1.21 */
+# define GPG_ERR_TRUE                       255
+# define GPG_ERR_FALSE                      256
+#endif
 
 /* Hash function used with libksba. */
 #define HASH_FNC ((void (*)(void *, const void*,size_t))gcry_md_write)