Mercurial > hg > orthanc
comparison Core/Exports.h @ 3990:226ab94a33cd
disabling test for exporting symbols
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 29 May 2020 19:43:28 +0200 |
parents | bdd8f952dd47 |
children | 5d2348b39392 |
comparison
equal
deleted
inserted
replaced
3989:bf6295ebc462 | 3990:226ab94a33cd |
---|---|
32 | 32 |
33 | 33 |
34 #pragma once | 34 #pragma once |
35 | 35 |
36 | 36 |
37 #if 0 // Test for the shared library | |
38 | |
37 // https://gcc.gnu.org/wiki/Visibility | 39 // https://gcc.gnu.org/wiki/Visibility |
38 #if defined(_WIN32) || defined (__CYGWIN__) | 40 #if defined(_WIN32) || defined (__CYGWIN__) |
39 # if !defined(BUILDING_ORTHANC_FRAMEWORK) | 41 # if !defined(BUILDING_ORTHANC_FRAMEWORK) |
40 # error Macro BUILDING_ORTHANC_FRAMEWORK must be defined | 42 # error Macro BUILDING_ORTHANC_FRAMEWORK must be defined |
41 # elif BUILDING_ORTHANC_FRAMEWORK == 1 | 43 # elif BUILDING_ORTHANC_FRAMEWORK == 1 |
52 # define ORTHANC_PUBLIC | 54 # define ORTHANC_PUBLIC |
53 # define ORTHANC_LOCAL | 55 # define ORTHANC_LOCAL |
54 # pragma warning Unknown dynamic link import/export semantics | 56 # pragma warning Unknown dynamic link import/export semantics |
55 # endif | 57 # endif |
56 #endif | 58 #endif |
59 | |
60 #endif |