dotcloud/docker — pull request #3019 by jpellerin (2013-12-03 17:11:08+00:00)
Title: Fixes #2909 - conditional compilation

Adds conditional compilation flags to modules that can't compile on darwin (mac os x), and moves the btrfs function from utils.go into a separate module that can is stubbed on darwin.

With these changes I can compile a working docker (client only, of course) from master on os x 10.8 using go 1.2.

I have no idea if this is the right approach.