mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 07:02:28 +00:00
Remove endian.h
Fuck big endian systems anyway
This commit is contained in:
parent
5a2796266f
commit
8a18cf456a
@ -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
|
Loading…
Reference in New Issue
Block a user