diff options
author | Magnus Hagander <magnus@hagander.net> | 2007-07-12 14:43:21 +0000 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2007-07-12 14:43:21 +0000 |
commit | 784fd04940a88e3246001b6024fc4dbf9b9b06e2 (patch) | |
tree | 6a396d6684eea228c673d017362f9ad15068f15a /src/interfaces/libpq/fe-auth.c | |
parent | 65a513c2490983e1b95710a805e7cb71956120bc (diff) | |
download | postgresql-784fd04940a88e3246001b6024fc4dbf9b9b06e2.tar.gz postgresql-784fd04940a88e3246001b6024fc4dbf9b9b06e2.zip |
Enable GSSAPI to build using MSVC. Always build GSSAPI when Kerberos is
enabled, because the only Kerberos library supported always contains it.
Diffstat (limited to 'src/interfaces/libpq/fe-auth.c')
-rw-r--r-- | src/interfaces/libpq/fe-auth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c index ca92d44f8a9..4c3207f63a6 100644 --- a/src/interfaces/libpq/fe-auth.c +++ b/src/interfaces/libpq/fe-auth.c @@ -10,7 +10,7 @@ * exceed INITIAL_EXPBUFFER_SIZE (currently 256 bytes). * * IDENTIFICATION - * $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.c,v 1.126 2007/07/12 14:36:52 mha Exp $ + * $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.c,v 1.127 2007/07/12 14:43:21 mha Exp $ * *------------------------------------------------------------------------- */ @@ -335,9 +335,9 @@ pg_krb5_sendauth(char *PQerrormsg, int sock, const char *hostname, const char *s #include <gssapi/gssapi.h> #endif -#ifdef WIN32 +#if defined(WIN32) && !defined(WIN32_ONLY_COMPILER) /* - * MIT Kerberos GSSAPI DLL doesn't properly export the symbols + * MIT Kerberos GSSAPI DLL doesn't properly export the symbols for MingW * that contain the OIDs required. Redefine here, values copied * from src/athena/auth/krb5/src/lib/gssapi/generic/gssapi_generic.c */ |