Skip to content

Commit

Permalink
See if __declspec works better for exported friends
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed Sep 21, 2022
1 parent aef9c93 commit 0764e86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/util/visibility.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
#define ARROW_TEMPLATE_EXPORT
#elif defined(ARROW_EXPORTING)
#define ARROW_EXPORT ARROW_DLLEXPORT
#define ARROW_FRIEND_EXPORT ARROW_DLLEXPORT
#define ARROW_FRIEND_EXPORT __declspec(dllexport)
#define ARROW_TEMPLATE_EXPORT ARROW_DLLEXPORT
#else
#define ARROW_EXPORT ARROW_DLLIMPORT
#define ARROW_FRIEND_EXPORT ARROW_DLLIMPORT
#define ARROW_FRIEND_EXPORT __declspec(dllimport)
#define ARROW_TEMPLATE_EXPORT ARROW_DLLIMPORT
#endif

Expand Down

0 comments on commit 0764e86

Please sign in to comment.