diff options
| author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2021-03-19 11:24:05 +0000 |
|---|---|---|
| committer | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2021-03-22 14:05:11 +0000 |
| commit | 1349d3d15bf7d100d0eae52d976a121d2dcf32ce (patch) | |
| tree | 81b6d977e6a674cc54c91e369b7d18555a8522e9 /tests/cpp-compile-test.cpp | |
| parent | build: drop autotools (diff) | |
| download | wayland-1349d3d15bf7d100d0eae52d976a121d2dcf32ce.tar wayland-1349d3d15bf7d100d0eae52d976a121d2dcf32ce.tar.gz wayland-1349d3d15bf7d100d0eae52d976a121d2dcf32ce.tar.bz2 wayland-1349d3d15bf7d100d0eae52d976a121d2dcf32ce.tar.lz wayland-1349d3d15bf7d100d0eae52d976a121d2dcf32ce.tar.xz wayland-1349d3d15bf7d100d0eae52d976a121d2dcf32ce.tar.zst wayland-1349d3d15bf7d100d0eae52d976a121d2dcf32ce.zip | |
Use MAP_FAILED instead of (void *) -1
While MAP_FAILED is generally defined to that value, we should not be
relying on implementation details of system headers.
Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions
