Skip to content

Commit

Permalink
detect cygwin properly, #11
Browse files Browse the repository at this point in the history
  • Loading branch information
horasal committed Jul 7, 2014
1 parent 0e3dd38 commit e159283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/rock/middle/Version.ooc
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ _addComplexBuiltinSpec: func (key, condition, prelude, afterword: String) {

// Linux
_addBuiltinSpec("linux", "__linux__")
_addBuiltinSpec("cygwin", "__CYGWIN__")
_addBuiltinSpec("cygwin", "__CYGWIN__) && !defined(__WIN32__")
_addBuiltinSpec("mingw", "__MINGW32__")
_addBuiltinSpec("mingw64", "__MINGW64__")

Expand Down

0 comments on commit e159283

Please sign in to comment.