xopen_source_600.cpp 399 B

1234567891011121314151617
  1. /*
  2. * Copyright Andrey Semashev 2017.
  3. * Distributed under the Boost Software License, Version 1.0.
  4. * (See accompanying file LICENSE_1_0.txt or copy at
  5. * http://www.boost.org/LICENSE_1_0.txt)
  6. */
  7. // Test if we can include system headers with -D_XOPEN_SOURCE=600
  8. #undef _XOPEN_SOURCE
  9. #define _XOPEN_SOURCE 600
  10. #include <unistd.h>
  11. int main(int, char*[])
  12. {
  13. return 0;
  14. }