Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
15d47cf7
Commit
15d47cf7
authored
4 years ago
by
Marcus Comstedt
Browse files
Options
Downloads
Patches
Plain Diff
Build: Fix macOS check for visibility attribute
parent
9e08fc03
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/global.h
+1
-1
1 addition, 1 deletion
src/global.h
with
1 addition
and
1 deletion
src/global.h
+
1
−
1
View file @
15d47cf7
...
@@ -602,7 +602,7 @@ typedef struct p_wchar_p
...
@@ -602,7 +602,7 @@ typedef struct p_wchar_p
* themselves, unless they are compiled statically. */
* themselves, unless they are compiled statically. */
# define PMOD_EXPORT __declspec(dllexport)
# define PMOD_EXPORT __declspec(dllexport)
# endif
# endif
# elif defined(__clang__) && defined(MAC_OS_X_VERSION_MIN_REQUIRED)
# elif defined(__clang__) &&
(
defined(MAC_OS_X_VERSION_MIN_REQUIRED)
|| defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__))
/* According to Clang source the protected behavior is ELF-specific and not
/* According to Clang source the protected behavior is ELF-specific and not
applicable to OS X. */
applicable to OS X. */
# define PMOD_EXPORT __attribute__ ((visibility("default")))
# define PMOD_EXPORT __attribute__ ((visibility("default")))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment