There is a redundant "def" or "defined" part in this line: #ifdef defined ... causing an error when building.
Fix GitHhub #180 – "#ifdef defined(...)".
On which compiler did this actually fail? It didn't cause any problems on recent versions of GCC and Clang so far, and neither on MSVC/Windows…
This happpened on a FreeBSD-9-STABLE machine.. GCC-4.2.1 according to the CMakeFIles/ CMakeCXXCompiler.cmake (FreeBSD-9 Stock compiler)
Ah, interesting – anyway, thanks for letting us know!