summaryrefslogtreecommitdiff
path: root/src/ne_utils.h
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2022-03-23 12:34:26 +0800
committerJoe Orton <jorton@apache.org>2022-03-24 13:40:10 +0000
commitfb99192806e80ddcba852d7701c3cea9b7ae09cb (patch)
tree9fc2ed28fbf236def84b99cc2ade959865c725d4 /src/ne_utils.h
parent2ed24b935eea6ccc81bb6fabbc8b4dc904f77184 (diff)
downloadneon-git-fb99192806e80ddcba852d7701c3cea9b7ae09cb.tar.gz
ne_defs.h: Add NE_VAR macro
This adds a macro to decorate public variables that is defined as 'extern' when building on non-Visual Studio compilers or when libneon is built statically. However when libneon is built or used as a shared (DLL) build, the macro will be defined to be 'extern __declspec(dllexport)' and 'extern __declspec(dllimport)' so that the variables are correctly exported and imported from the DLL during linking.
Diffstat (limited to 'src/ne_utils.h')
0 files changed, 0 insertions, 0 deletions