Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CoMISo
CoMISo
Commits
4e4fb4f7
Commit
4e4fb4f7
authored
Jan 29, 2018
by
Martin Marinov
Browse files
Merge minor changes to ensure static library build compatibility
parents
d64f46f6
36c6980d
Pipeline
#6099
passed with stages
in 6 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Config/CoMISoDefines.hh
View file @
4e4fb4f7
...
...
@@ -33,12 +33,19 @@
#define COMISODLLEXPORTONLY __declspec(dllexport)
#endif
#else
#define COMISODLLEXPORT
#define COMISODLLEXPORTONLY
#define COMISODLLEXPORT
#define COMISODLLEXPORTONLY
#endif
#else
#define COMISODLLEXPORT
#define COMISODLLEXPORTONLY
#else // non-Windows symbols export:
#ifdef COMISODLL
// only export symbols if COMISODLL is defined (same behavior as Windows)
#define COMISODLLEXPORT __attribute__((visibility("default")))
#define COMISODLLEXPORTONLY COMISODLLEXPORT
#else // COMISODLL not defined
// this allows building CoMISo as static library without exposing its symbols
#define COMISODLLEXPORT
#define COMISODLLEXPORTONLY
#endif // COMISODLL
#endif
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment