]> git.cworth.org Git - apitrace/commit
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)
commitce54daa47145e01b2b6ef6fdb13b28d6f9958933
tree2e1031d34dfe564d42fd1d187f32bbfd0b0e51b2
parent3297ed820e2127e96e53b84277e8012caa6114ed
common: Add platform #ifdefs for non-cmake build convenience.

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.
common/os_posix.cpp
common/os_win32.cpp
helpers/eglsize.cpp
helpers/eglsize.hpp