"label": "O_CLOEXEC",
"type": "compile",
"test": {
+ "qmake": "QMAKE_LFLAGS += -Wl,--fatal-warnings",
"head": "#define _GNU_SOURCE 1",
"include": [ "sys/types.h", "sys/socket.h", "fcntl.h", "unistd.h" ],
"main": [
"include": "sys/stat.h",
"main": "futimens(-1, 0);",
"qmake": [
+ "QMAKE_LFLAGS += -Wl,--fatal-warnings",
"# Block futimens() on Apple platforms unless it's available on ALL",
"# deployment targets. This simplifies the logic at the call site",
"# dramatically, as it isn't strictly needed compared to futimes().",
"label": "getentropy()",
"type": "compile",
"test": {
+ "qmake": "QMAKE_LFLAGS += -Wl,--fatal-warnings",
"include": "unistd.h",
"main": [
"char buf[32];",