Commit 973e258
committed
[z/OS] Improve compiler options on z/OS
`_XPLATFORM_SOURCE` needs to be defined to improve source code compatibility (e.g. for `O_CLOEXEC`).
The define `_UNIX03_THREADS` can be removed, because it is automatically set by `_XOPEN_SOURCE=600`.
See the documentation of feature test macros: https://www.ibm.com/docs/en/zos/3.1.0?topic=files-feature-test-macros
Tested on z/OS 3.1 with the Open XL C/C++ 2.2 compiler.1 parent e29ee27 commit 973e258
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1264 | 1264 | | |
1265 | 1265 | | |
1266 | 1266 | | |
| 1267 | + | |
1267 | 1268 | | |
1268 | 1269 | | |
1269 | 1270 | | |
1270 | | - | |
1271 | 1271 | | |
1272 | 1272 | | |
1273 | 1273 | | |
| |||
0 commit comments