diff options
author | Steven Koo <steven.koo@ni.com> | 2022-01-04 12:40:37 -0600 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-01-31 13:56:12 -0600 |
commit | 1b3ed2072e9e0101c4fc1906ccbf977c55b9f482 (patch) | |
tree | b9072e34e69a21b37b099d2cba7a60a91fa90e0d /images | |
parent | 5ad27a59ec09fb2e55a37993eb8992c8df83cb8b (diff) | |
download | uhd-1b3ed2072e9e0101c4fc1906ccbf977c55b9f482.tar.gz uhd-1b3ed2072e9e0101c4fc1906ccbf977c55b9f482.tar.bz2 uhd-1b3ed2072e9e0101c4fc1906ccbf977c55b9f482.zip |
rfnoc: set UHD_API_HEADER on property_t
UHD_API sets the visibility for the symbols. Adding UHD_API fixes
casting issues seen on macOS. However this breaks Windows because
UHD_API sets __declspec(dllexport) and __declspec(dllimport) which
doesn't make sense for header/inline only definitions. This change
adds UHD_API_HEADER to denote entrypoints for this case. It sets
the visibility flags for Linux/Mac but does not set the
__declspec on Windows.
Signed-off-by: Steven Koo <steven.koo@ni.com>
Diffstat (limited to 'images')
0 files changed, 0 insertions, 0 deletions