diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-11-11 09:58:29 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-11-11 10:03:32 -0800 |
commit | 29172387581b3390e4659c18514eaa1e0f45b0c5 (patch) | |
tree | 2c55dc4bc93f1354388bbc07aeccdf5f8a08d5d2 /lib/regex_internal.h | |
parent | 2523ac9fa3ea01f34f7a2b55e19b9dcd5506c232 (diff) | |
download | emacs-29172387581b3390e4659c18514eaa1e0f45b0c5.tar.gz emacs-29172387581b3390e4659c18514eaa1e0f45b0c5.tar.bz2 emacs-29172387581b3390e4659c18514eaa1e0f45b0c5.zip |
Pacify gcc -Wunused-macros in older GnuTLS
I ran into this problem on Ubuntu 18.04.1 LTS.
* src/gnutls.c (HAVE_GNUTLS_CIPHER_GET_IV_SIZE)
(HAVE_GNUTLS_CIPHER_GET_TAG_SIZE, HAVE_GNUTLS_DIGEST_LIST):
New macros. This uses the same style as the other
macros that depend on GnuTLS version, as opposed to trying
to do things a bit more cleverly.
(gnutls_cipher_get_iv_size, gnutls_cipher_get_tag_size)
(gnutls_digest_list, gnutls_digest_get_name):
Define these macros only if they will be used.
Diffstat (limited to 'lib/regex_internal.h')
0 files changed, 0 insertions, 0 deletions