Skip to content

Commit

Permalink
wip - see what's going on during windows native build
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Nov 15, 2022
1 parent 710182d commit ac0d74d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/nokogiri/nokogiri.h
Expand Up @@ -18,9 +18,11 @@
#endif

#ifdef _WIN32
# warning "exporting functions for windows!"
# define NOKOPUBFUN __declspec(dllexport)
# define NOKOPUBVAR __declspec(dllexport) extern
#else
# warning "not exporting functions"
# define NOKOPUBFUN
# define NOKOPUBVAR extern
#endif
Expand Down

0 comments on commit ac0d74d

Please sign in to comment.