diff options
author | Igor Zlatkovic <igor@src.gnome.org> | 2003-08-27 08:01:18 +0000 |
---|---|---|
committer | Igor Zlatkovic <igor@src.gnome.org> | 2003-08-27 08:01:18 +0000 |
commit | 5b316cd110f5d267dc1e5394df01c592540bf31b (patch) | |
tree | 2c1bfa2c8e0680c80c2f0a32c252bd0e40a9447a /include | |
parent | c1ffa0ab97d0724acfc947e20873959da72b1b5d (diff) | |
download | libxml2-5b316cd110f5d267dc1e5394df01c592540bf31b.tar.gz |
fixed defs for Borland compiler, as reported by Eric Zurcher
Diffstat (limited to 'include')
-rw-r--r-- | include/libxml/xmlexports.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/libxml/xmlexports.h b/include/libxml/xmlexports.h index 7dd08bc0..c28de23b 100644 --- a/include/libxml/xmlexports.h +++ b/include/libxml/xmlexports.h @@ -21,6 +21,8 @@ * platform might need different definitions. */ +/* Defaults. These will be used on platforms which + do not appear below. */ #define XMLPUBFUN #define XMLPUBVAR extern #define XMLCALL @@ -51,13 +53,13 @@ #undef XMLCALL #if defined(IN_LIBXML) && !defined(LIBXML_STATIC) #define XMLPUBFUN __declspec(dllexport) - #define XMLPUBVAR __declspec(dllexport) + #define XMLPUBVAR __declspec(dllexport) extern #else #define XMLPUBFUN #if !defined(LIBXML_STATIC) #define XMLPUBVAR __declspec(dllimport) extern #else - #define XMLPUBVAR + #define XMLPUBVAR extern #endif #endif #define XMLCALL __cdecl |