forked from gopro/gpmf-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gpmf-parser: manage symbol visbility for windows [MAGMA-2080]
In order to be compliant with windows, set the visibility of the symbols to hidden by default and import/export symbols accordingly when relevant.
- Loading branch information
1 parent
553fa8c
commit 9a9bda1
Showing
4 changed files
with
72 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#pragma once | ||
|
||
#if defined(_WIN32) | ||
# if defined(GPMFPARSER_EXPORT) | ||
# define GPMFPARSER_API __declspec(dllexport) | ||
# elif defined(GPMFPARSER_STATIC) | ||
# define GPMFPARSER_API | ||
# else | ||
# define GPMFPARSER_API __declspec(dllimport) | ||
# endif | ||
#else | ||
# if defined(GPMFPARSER_EXPORT) | ||
# define GPMFPARSER_API __attribute__((visibility("default"))) | ||
# elif defined(GPMFPARSER_STATIC) | ||
# define GPMFPARSER_API | ||
# else | ||
# define GPMFPARSER_API __attribute__((visibility("default"))) | ||
# endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters