Skip to content

Commit

Permalink
refs nim-lang#13054 correctly handle {.exportc,dynlib.} and {.exportc…
Browse files Browse the repository at this point in the history
…pp,dynlib.}
  • Loading branch information
timotheecour committed Jan 14, 2020
1 parent 49d1822 commit 3853c24
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/nimbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,7 @@ __AVR__
# define N_FASTCALL_PTR(rettype, name) rettype (*name)
# define N_SAFECALL_PTR(rettype, name) rettype (*name)
# endif
# ifdef __cplusplus
# define N_LIB_EXPORT extern "C"
# else
# define N_LIB_EXPORT extern
# endif
# define N_LIB_EXPORT __attribute__((visibility("default")))
# define N_LIB_IMPORT extern
#endif

Expand Down

0 comments on commit 3853c24

Please sign in to comment.