Skip to content

Commit 155d63a

Browse files
committed
native: Fix macro redefinition
1 parent c19fa41 commit 155d63a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

junixsocket-native/src/main/c/ckmacros.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,16 +207,19 @@ _Pragma("GCC diagnostic pop")
207207
#if __TOS_MVS__
208208
# define CK_VISIBILITY_INTERNAL
209209
# define CK_VISIBILITY_DEFAULT
210+
# undef CK_HAVE_VISIBILITY
210211
# define CK_HAVE_VISIBILITY 0
211212
#endif
212213
#ifdef _WIN32
213214
# define CK_VISIBILITY_INTERNAL
214215
# define CK_VISIBILITY_DEFAULT
216+
# undef CK_HAVE_VISIBILITY
215217
# define CK_HAVE_VISIBILITY 0
216218
#endif
217219
#ifdef __TANDEM
218220
# define CK_VISIBILITY_INTERNAL
219221
# define CK_VISIBILITY_DEFAULT
222+
# undef CK_HAVE_VISIBILITY
220223
# define CK_HAVE_VISIBILITY 0
221224
# undef CK_UNUSED
222225
# define CK_UNUSED

0 commit comments

Comments
 (0)