Windows: Moved definition out of inline function call.
Windows: Moved definition out of inline function call.

MSVC does not deal with #ifdefs from inside function calls.
So here, the `#if defined(...)` was taken literally and is
considered a syntax error by MSVC.

Review: https://reviews.apache.org/r/71478/

dforsyth/mesos,dforsyth/mesos,reneploetz/mesos,dforsyth/mesos,Gilbert88/mesos,Gilbert88/mesos,reneploetz/mesos,kaysoky/mesos,kaysoky/mesos,abudnik/mesos,kaysoky/mesos,abudnik/mesos,abudnik/mesos,dforsyth/mesos,Gilbert88/mesos,Gilbert88/mesos,abudnik/mesos,abudnik/mesos,kaysoky/mesos,kaysoky/mesos,abudnik/mesos,dforsyth/mesos,kaysoky/mesos,Gilbert88/mesos,Gilbert88/mesos,reneploetz/mesos,reneploetz/mesos,reneploetz/mesos,dforsyth/mesos,reneploetz/mesos,Gilbert88/mesos,dforsyth/mesos,kaysoky/mesos,reneploetz/mesos,abudnik/mesos