aboutsummaryrefslogtreecommitdiff
path: root/src/include/common/jsonapi.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2022-04-08 08:16:38 -0400
committerRobert Haas <rhaas@postgresql.org>2022-04-08 08:16:38 -0400
commit8ec569479fc28ddd634a13dc100b36352ec3a3c2 (patch)
tree2cde3957ed4071478d647c305161eb24df35be15 /src/include/common/jsonapi.h
parent80900d4690916a30f278d877eb5a7a42b14c3f0a (diff)
downloadpostgresql-8ec569479fc28ddd634a13dc100b36352ec3a3c2.tar.gz
postgresql-8ec569479fc28ddd634a13dc100b36352ec3a3c2.zip
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/common/jsonapi.h')
-rw-r--r--src/include/common/jsonapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/common/jsonapi.h b/src/include/common/jsonapi.h
index 52cb4a9339e..8d31630e5ce 100644
--- a/src/include/common/jsonapi.h
+++ b/src/include/common/jsonapi.h
@@ -128,7 +128,7 @@ extern JsonParseErrorType pg_parse_json(JsonLexContext *lex,
JsonSemAction *sem);
/* the null action object used for pure validation */
-extern JsonSemAction nullSemAction;
+extern PGDLLIMPORT JsonSemAction nullSemAction;
/*
* json_count_array_elements performs a fast secondary parse to determine the