[Midnightbsd-cvs] mports [21143] trunk/emulators/yabause/files/patch-src__core.h: add missing patch

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Mar 12 18:34:22 EST 2016


Revision: 21143
          http://svnweb.midnightbsd.org/mports/?rev=21143
Author:   laffer1
Date:     2016-03-12 18:34:21 -0500 (Sat, 12 Mar 2016)
Log Message:
-----------
add missing patch

Added Paths:
-----------
    trunk/emulators/yabause/files/patch-src__core.h

Added: trunk/emulators/yabause/files/patch-src__core.h
===================================================================
--- trunk/emulators/yabause/files/patch-src__core.h	                        (rev 0)
+++ trunk/emulators/yabause/files/patch-src__core.h	2016-03-12 23:34:21 UTC (rev 21143)
@@ -0,0 +1,13 @@
+--- src/core.h.orig
++++ src/core.h
+@@ -252,8 +252,10 @@
+ # define BSWAP16(x)  ((__builtin_bswap16((x) >> 16) << 16) | __builtin_bswap16((x)))
+ # define BSWAP16L(x) (__builtin_bswap16((x)))
+ #endif
++#ifdef HAVE_BUILTIN_BSWAP32
+ # define BSWAP32(x)  (__builtin_bswap32((x)))
+ #endif
++#endif
+ 
+ #ifdef _MSC_VER
+ # define BSWAP16(x)  ((_byteswap_ushort((x) >> 16) << 16) | _byteswap_ushort((x)))



More information about the Midnightbsd-cvs mailing list