~mcf/cproc

ref: ed051588b3889f6ad8ed89651dc4f29801bf198c cproc/.builds/openbsd.diff -rw-r--r-- 387 bytes
ed051588Michael Forney CI: Drop obsolete OpenBSD patch 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- machine/endian.h.orig	Sat Sep  5 19:21:50 2020
+++ machine/endian.h	Sat Sep  5 19:22:51 2020
@@ -31,6 +31,8 @@
 #include <sys/_types.h>
 #endif
 
+#ifdef __GNUC__
+
 static __inline __uint16_t
 __swap16md(__uint16_t _x)
 {
@@ -54,6 +56,8 @@
 
 /* Tell sys/endian.h we have MD variants of the swap macros.  */
 #define __HAVE_MD_SWAP
+
+#endif
 
 #define _BYTE_ORDER _LITTLE_ENDIAN