Skip to content

Commit

Permalink
fix for compilation on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ba0f3 committed Jul 18, 2018
1 parent fa4f1e7 commit f93225b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/subhook.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{.compile: "private/subhook/subhook.c".}
{.passL: "-DSUBHOOK_STATIC".}

{.pragma: subhook,
cdecl,
Expand Down
5 changes: 5 additions & 0 deletions src/subhook.nims
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

#when defined(windows):
# switch("passC", "-DSUBHOOK_WINDOWS")

switch("passC", "-DSUBHOOK_STATIC")

0 comments on commit f93225b

Please sign in to comment.