Skip to content

Commit

Permalink
Merge pull request #4 from def-/mac-macosx
Browse files Browse the repository at this point in the history
Change defined(mac) to defined(macosx)
  • Loading branch information
oprypin committed Feb 19, 2015
2 parents 70521f2 + 8de6d37 commit c38cf38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/csfml_window.nim
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ include private/csfml_common
import csfml_system


when defined(windows) or defined(mac):
when defined(windows) or defined(macosx):
type WindowHandle* = pointer
else:
type WindowHandle* = culong
Expand Down
2 changes: 1 addition & 1 deletion src/private/csfml_common.nim
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ else:

when defined(windows):
const lib = "csfml-" & module & "-2.dll"
elif defined(mac):
elif defined(macosx):
const lib = "libcsfml-" & module & ".dylib"
else:
const lib = "libcsfml-" & module & ".so"
Expand Down

0 comments on commit c38cf38

Please sign in to comment.