diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index e35bdc4036..bb66d71cc4 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -393,7 +393,7 @@ static const char short_uri_designator[] = "postgres://"; static bool connectOptions1(PGconn *conn, const char *conninfo); static bool init_allowed_encryption_methods(PGconn *conn); -#if defined(USE_SSL) || defined(USE_GSS) +#if defined(USE_SSL) || defined(ENABLE_GSS) static int encryption_negotiation_failed(PGconn *conn); #endif static bool connection_failed(PGconn *conn); @@ -4318,7 +4318,7 @@ init_allowed_encryption_methods(PGconn *conn) * * conn->current_enc_method is updated to the next method to try. */ -#if defined(USE_SSL) || defined(USE_GSS) +#if defined(USE_SSL) || defined(ENABLE_GSS) static int encryption_negotiation_failed(PGconn *conn) {