diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/pg_config.h.in | 3 | ||||
-rw-r--r-- | src/include/pg_config.h.win32 | 3 | ||||
-rw-r--r-- | src/include/port.h | 4 |
3 files changed, 10 insertions, 0 deletions
diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index 2a40d6140bd..4383ad5172c 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -430,6 +430,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. */ +#undef HAVE_SSL_GET_CURRENT_COMPRESSION + /* Define to 1 if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32 index 1c9cd82b838..f7c2419252b 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 */ diff --git a/src/include/port.h b/src/include/port.h index 3d974818344..9f8465e78ad 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -420,6 +420,10 @@ extern void unsetenv(const char *name); extern void srandom(unsigned int seed); #endif +#ifndef HAVE_SSL_GET_CURRENT_COMPRESSION +#define SSL_get_current_compression(x) 0 +#endif + /* thread.h */ extern char *pqStrerror(int errnum, char *strerrbuf, size_t buflen); |