Skip to content

Commit 02c56dd

Browse files
author
david
committed
attribute hidden
1 parent abc90c9 commit 02c56dd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

h3r.Rproj

+1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ StripTrailingWhitespace: Yes
1818
BuildType: Package
1919
PackageUseDevtools: Yes
2020
PackageInstallArgs: --no-multiarch --with-keep.source
21+
PackageBuildArgs: --enable-lto
2122
PackageRoxygenize: rd,collate,namespace,vignette

inst/include/h3rapi.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <R_ext/Rdynload.h>
1010

1111
#ifdef HAVE_VISIBILITY_ATTRIBUTE
12-
# define attribute_hidden __attribute__ ((visibility (hidden)))
12+
# define attribute_hidden __attribute__ ((visibility ("hidden")))
1313
#else
1414
# define attribute_hidden
1515
#endif

0 commit comments

Comments
 (0)