Skip to content

Commit 968dfc2

Browse files
authored
EMSCRIPTEN_EXPORT -> EMBIND_VISIBILITY_DEFAULT
1 parent d794400 commit 968dfc2

File tree

1 file changed

+2
-2
lines changed
  • system/include/emscripten

1 file changed

+2
-2
lines changed

system/include/emscripten/wire.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <string>
2525

2626
#define EMSCRIPTEN_ALWAYS_INLINE __attribute__((always_inline))
27-
#define EMSCRIPTEN_EXPORT __attribute__((visibility("default")))
27+
#define EMBIND_VISIBILITY_DEFAULT __attribute__((visibility("default")))
2828

2929
#ifndef EMSCRIPTEN_HAS_UNBOUND_TYPE_NAMES
3030
#define EMSCRIPTEN_HAS_UNBOUND_TYPE_NAMES 1
@@ -431,7 +431,7 @@ constexpr bool typeSupportsMemoryView() {
431431
} // namespace internal
432432

433433
template<typename ElementType>
434-
struct EMSCRIPTEN_EXPORT memory_view {
434+
struct EMBIND_VISIBILITY_DEFAULT memory_view {
435435
memory_view() = delete;
436436
explicit memory_view(size_t size, const ElementType* data)
437437
: size(size)

0 commit comments

Comments
 (0)