forked from qt-creator/qt-creator
CMake: Fix warning
glibc 2.12 is now over 10 years old. I think we do not support it anymore. Change-Id: I3df4ebaa73de07c22ff71e50ddbee5938bd0ce55 Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -2,11 +2,6 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#pragma once
|
||||
|
||||
#if defined(__linux)
|
||||
/* Needed for glibc < 2.12 */
|
||||
// NOLINTNEXTLINE(bugprone-reserved-identifier)
|
||||
# define _XOPEN_SOURCE 600
|
||||
#endif
|
||||
#if !defined(_POSIX_C_SOURCE) && !defined(_WIN32) && !defined(__sun) && \
|
||||
!defined(__OpenBSD__)
|
||||
/* POSIX APIs are needed */
|
||||
|
||||
Reference in New Issue
Block a user