summaryrefslogtreecommitdiff
path: root/src/include/libpq/scram.h
diff options
context:
space:
mode:
authorRobert Haas2022-04-08 12:16:38 +0000
committerRobert Haas2022-04-08 12:16:38 +0000
commit8ec569479fc28ddd634a13dc100b36352ec3a3c2 (patch)
tree2cde3957ed4071478d647c305161eb24df35be15 /src/include/libpq/scram.h
parent80900d4690916a30f278d877eb5a7a42b14c3f0a (diff)
Apply PGDLLIMPORT markings broadly.
Up until now, we've had a policy of only marking certain variables in the PostgreSQL header files with PGDLLIMPORT, but now we've decided to mark them all. This means that extensions running on Windows should no longer operate at a disadvantage as compared to extensions running on Linux: if the variable is present in a header file, it should be accessible. Discussion: http://postgr.es/m/CA+TgmoYanc1_FSfimhgiWSqVyP5KKmh5NP2BWNwDhO8Pg2vGYQ@mail.gmail.com
Diffstat (limited to 'src/include/libpq/scram.h')
-rw-r--r--src/include/libpq/scram.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/libpq/scram.h b/src/include/libpq/scram.h
index e60992a0d2d..c51e848c24d 100644
--- a/src/include/libpq/scram.h
+++ b/src/include/libpq/scram.h
@@ -18,7 +18,7 @@
#include "libpq/sasl.h"
/* SASL implementation callbacks */
-extern const pg_be_sasl_mech pg_be_scram_mech;
+extern PGDLLIMPORT const pg_be_sasl_mech pg_be_scram_mech;
/* Routines to handle and check SCRAM-SHA-256 secret */
extern char *pg_be_scram_build_secret(const char *password);