examples/CMakeLists.txt: clean up Feature Test Macro Requirements defines
authorAntonio Ospite <ao2@ao2.it>
Wed, 29 Jun 2016 17:35:21 +0000 (19:35 +0200)
committerAntonio Ospite <ao2@ao2.it>
Wed, 29 Jun 2016 17:35:21 +0000 (19:35 +0200)
commit74b58c54e60a2fe4e44e1b1bca4ef3f9cfd95f5e
treec56a26d959db1cfb4030520a7d78ca77c0adbdf3
parent2e84fd6b3f5aca431b34b4b8eda536f1cedec930
examples/CMakeLists.txt: clean up Feature Test Macro Requirements defines

Setting _POSIX_C_SOURCE to the right value enables all the needed
functionalities.

This also avoids using _DEFAULT_SOURCE explicitly to get rid of the
_BSD_SOURCE deprecation warning.
examples/CMakeLists.txt