Add fallback for betoh/htobe if they do not exist
authorJesper Derehag <jderehag@hotmail.com>
Wed, 23 Apr 2014 15:45:26 +0000 (17:45 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 26 Apr 2014 10:20:59 +0000 (12:20 +0200)
commit62f11f7472d3cb862770d7121c5cab23424cd16a
treeb79a9710d531eb406a7bff8661288a9793b974cc
parent8cea25b5636f8047aa7af32ab8540778f54f40e7
Add fallback for betoh/htobe if they do not exist

For older systems endian.h may not contain the betoh/htobe macros.
If they are missing, add them and make sure that any user of
htobe/betoh uses the compat/endian.h

Signed-off-by: Jesper Derehag <jderehag@hotmail.com>
Tested-by: Jesper Derehag <jderehag@hotmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/lttng-live/lttng-live-comm.c
include/babeltrace/endian.h
This page took 0.026689 seconds and 4 git commands to generate.