Permalink
Browse files

Add thrift support for win32

  • Loading branch information...
1 parent 510bcaa commit 343fa31cbe6955777922c272a7ca7ef9a4f0b36f @simonratner committed Jun 14, 2011
Binary file not shown.
@@ -16,7 +16,9 @@ trait CompileThriftFinagle
private[this] val _thriftBin = CompileThriftFinagle.synchronized {
if (!cachedPath.isDefined) {
// TODO: we don't discriminate between versions here (which we need to..).
+ val windows = "(Windows.*)".r
val binPath = System.getProperty("os.name") match {
+ case windows(_) => "thrift.win32"
case "Mac OS X" => "thrift.osx10.6"
case "Linux" => System.getProperty("os.arch") match {
case "i386" => "thrift.linux32"

0 comments on commit 343fa31

Please sign in to comment.