]> git.cworth.org Git - apitrace/commitdiff
common: Add platform #ifdefs for non-cmake build convenience.
authorNigel Stewart <nigels@users.sourceforge.net>
Mon, 24 Jun 2013 20:40:44 +0000 (15:40 -0500)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 2 Jul 2013 22:42:04 +0000 (23:42 +0100)
The cmake CMakeLists.txt file has logic for including or excluding certain
compilation units based on the platform: Windows, Linux or Mac OS X.
Other build systems are not as clever, it is convenient to also wrap
platform-specifics with #ifdef _WIN32 ... #endif to keep things simple on
the build side.


No differences found