aboutsummaryrefslogtreecommitdiff
path: root/graphics/libemf/files/patch-libemf_libemf.cpp
blob: b0da3b4bbe53862cbfb06564ee8492168c3d64a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- libemf/libemf.cpp.orig	2021-11-01 12:21:53 UTC
+++ libemf/libemf.cpp
@@ -72,8 +72,7 @@ namespace EMF {
     if ( not bigEndian() ) {
       return a;
     }
-#include <byteswap.h>
-    return bswap_32(a);
+    return __builtin_bswap32(a);
   }
 
   /*!