ports/games/SRB2/files/patch-src_byteptr.h
Piotr Kubaj cf7336e4d5 games/SRB2: fix build on big-endian
/wrkdirs/usr/ports/games/SRB2/work/SRB2-SRB2_release_2.2.9/src/byteptr.h:86:1: error: unknown type name 'FUNCINLINE'
FUNCINLINE static ATTRINLINE void writeshort(void *ptr, INT32 val)
2021-10-10 18:14:25 +00:00

11 lines
265 B
C

--- src/byteptr.h.orig 2021-10-10 01:56:02 UTC
+++ src/byteptr.h
@@ -83,6 +83,7 @@
//
// Write a value to a little-endian, unaligned destination.
//
+#include "doomtype.h"
FUNCINLINE static ATTRINLINE void writeshort(void *ptr, INT32 val)
{
SINT8 *cp = ptr;