aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cpp-compile-test.cpp
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-03-19 11:24:05 +0000
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-03-22 14:05:11 +0000
commit1349d3d15bf7d100d0eae52d976a121d2dcf32ce (patch)
tree81b6d977e6a674cc54c91e369b7d18555a8522e9 /tests/cpp-compile-test.cpp
parentbuild: drop autotools (diff)
downloadwayland-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