comparison Core/Exports.h @ 3991:5d2348b39392

turning toolbox namespaces into classes to control visibility in shared libraries
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 29 May 2020 21:23:57 +0200
parents 226ab94a33cd
children
comparison
equal deleted inserted replaced
3990:226ab94a33cd 3991:5d2348b39392
32 32
33 33
34 #pragma once 34 #pragma once
35 35
36 36
37 //#define ORTHANC_PUBLIC __attribute__ ((visibility ("default")))
38 #define ORTHANC_PUBLIC
39
37 #if 0 // Test for the shared library 40 #if 0 // Test for the shared library
38 41
39 // https://gcc.gnu.org/wiki/Visibility 42 // https://gcc.gnu.org/wiki/Visibility
40 #if defined(_WIN32) || defined (__CYGWIN__) 43 #if defined(_WIN32) || defined (__CYGWIN__)
41 # if !defined(BUILDING_ORTHANC_FRAMEWORK) 44 # if !defined(BUILDING_ORTHANC_FRAMEWORK)