diff options
author | Robert Haas | 2022-04-08 12:16:38 +0000 |
---|---|---|
committer | Robert Haas | 2022-04-08 12:16:38 +0000 |
commit | 8ec569479fc28ddd634a13dc100b36352ec3a3c2 (patch) | |
tree | 2cde3957ed4071478d647c305161eb24df35be15 /src/include/utils/xml.h | |
parent | 80900d4690916a30f278d877eb5a7a42b14c3f0a (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/utils/xml.h')
-rw-r--r-- | src/include/utils/xml.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/utils/xml.h b/src/include/utils/xml.h index c1de08d15b8..6620a626191 100644 --- a/src/include/utils/xml.h +++ b/src/include/utils/xml.h @@ -75,10 +75,10 @@ extern char *map_sql_identifier_to_xml_name(const char *ident, bool fully_escape extern char *map_xml_name_to_sql_identifier(const char *name); extern char *map_sql_value_to_xml_value(Datum value, Oid type, bool xml_escape_strings); -extern int xmlbinary; /* XmlBinaryType, but int for guc enum */ +extern PGDLLIMPORT int xmlbinary; /* XmlBinaryType, but int for guc enum */ -extern int xmloption; /* XmlOptionType, but int for guc enum */ +extern PGDLLIMPORT int xmloption; /* XmlOptionType, but int for guc enum */ -extern const TableFuncRoutine XmlTableRoutine; +extern PGDLLIMPORT const TableFuncRoutine XmlTableRoutine; #endif /* XML_H */ |