medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit ddef25e3d3acc114b8e385edafe6020d2cbe65de
parent c3d3144e9c77e720583619ecc9087549eb3f3883
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun Oct 16 20:48:31 +0300

static forceinline endian check

Diffstat:
stream.h | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/stream.h b/stream.h @@ -2,12 +2,13 @@ #define _STREAM_H_ #include "intrinsics.h" +#include "platform_inline.h" struct Stream { char * ptr; }; -bool cpu_is_little_endian() { +static forceinline bool cpu_is_little_endian() { #if FORCE_LITTLE_ENDIAN return true; #else