diff options
| author | Magnus Hagander <magnus@hagander.net> | 2014-07-15 18:04:43 +0200 |
|---|---|---|
| committer | Magnus Hagander <magnus@hagander.net> | 2014-07-15 18:07:03 +0200 |
| commit | c9e1ad7faf75aeda633e27ba6c042dabe4aa353d (patch) | |
| tree | 1354e41aa8cc528de9411ba09b7654e0741662a6 /src/include/pg_config.h.win32 | |
| parent | f9ddcf75430467493aa6c2b07a45776e4ae8b416 (diff) | |
| download | postgresql-c9e1ad7faf75aeda633e27ba6c042dabe4aa353d.tar.gz | |
Detect presence of SSL_get_current_compression
Apparently we still build against OpenSSL so old that it doesn't
have this function, so add an autoconf check for it to make the
buildfarm happy. If the function doesn't exist, always return
that compression is disabled, since presumably the actual
compression functionality is always missing.
For now, hardcode the function as present on MSVC, since we should
hopefully be well beyond those old versions on that platform.
Diffstat (limited to 'src/include/pg_config.h.win32')
| -rw-r--r-- | src/include/pg_config.h.win32 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32 index 1c9cd82b83..f7c2419252 100644 --- a/src/include/pg_config.h.win32 +++ b/src/include/pg_config.h.win32 @@ -337,6 +337,9 @@ /* Define to 1 if you have the `srandom' function. */ /* #undef HAVE_SRANDOM */ +/* Define to 1 if you have the `SSL_get_current_compression' function. */ +#define HAVE_SSL_GET_CURRENT_COMPRESSION 1 + /* Define to 1 if you have the <stdint.h> header file. */ /* #undef HAVE_STDINT_H */ |
