From 8a18cf456aac6fee666ccb4e7df0a9eb6c059756 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 23 Jun 2017 14:46:12 -0400 Subject: [PATCH] Remove endian.h Fuck big endian systems anyway --- include/endian.h | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 include/endian.h diff --git a/include/endian.h b/include/endian.h deleted file mode 100644 index 0e9b6101..00000000 --- a/include/endian.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef _WLR_ENDIAN_H -#define _WLR_ENDIAN_H - -// https://stackoverflow.com/a/4240257 - -#define little_endian() (((union { unsigned x; unsigned char c; }){1}).c) - -#endif