diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-08-05 16:22:51 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-08-05 16:22:51 +0000 |
commit | cf46733632c7279a9fd0fe6ce26f9185a4ae82a9 (patch) | |
tree | da27775a2161723ef342e91af41a8b51fedef405 /subversion/libsvn_subr/ctype.c | |
parent | bb0ef45f7c46b0ae221b26265ef98a768c33f820 (diff) | |
download | subversion-tarball-master.tar.gz |
subversion-1.9.7HEADsubversion-1.9.7master
Diffstat (limited to 'subversion/libsvn_subr/ctype.c')
-rw-r--r-- | subversion/libsvn_subr/ctype.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/subversion/libsvn_subr/ctype.c b/subversion/libsvn_subr/ctype.c index 0dd5d5b..1d4c30b 100644 --- a/subversion/libsvn_subr/ctype.c +++ b/subversion/libsvn_subr/ctype.c @@ -25,6 +25,23 @@ #include "svn_ctype.h" +#ifndef WIN32 +static +#else +/* This variable is exported as 'CONSTANT' in our .def file for libsvn_subr, + with the name svn_ctype_table. + + This long deprecated construct will export *a pointer to* the + variable exported. + + See http://support.microsoft.com/kb/90530/en-us for the ugly details on + this system that was already deprecated when we started Subversion and + on why we should have used __declspec(dllexport) when initially exporting + this variable. (It would allow avoiding the pointer transformation). + + But to keep backwards compatibility this symbol will have to stay public + on Windows until Subversion 2.0. */ +#endif const apr_uint32_t svn_ctype_table_internal[256] = { /* **** DO NOT EDIT! **** |