summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-09-11 22:50:13 +0300
committerChristian Beier <dontmind@freeshell.org>2012-09-14 18:47:27 +0200
commit4c148e5f74f764bccbe8b519494addb4aa0d79d0 (patch)
tree06b255232e1018817a2d918f7e55ff69ae46ee91 /CMakeLists.txt
parent8f1ef3d66cb846ed003b9f88bc56ef3b4859953e (diff)
downloadlibtdevnc-4c148e5f74f764bccbe8b519494addb4aa0d79d0.tar.gz
libtdevnc-4c148e5f74f764bccbe8b519494addb4aa0d79d0.zip
Tune the definitions needed when building with -ansi.
The current definitions were mostly useful to glibc and followed its feature_test_macros(3) documentation. However, this means other platforms still had problems when building with strict compilation flags. _BSD_SOURCE, for example, is only recognized by glibc, and other platforms sometimes need _XOPEN_SOURCE instead, or even the removal of some definitions (such as the outdate _POSIX_SOURCE one). _POSIX_SOURCE also had to be conditionally defined in some places, as what it enables or disables during compilation varies across systems.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions