summaryrefslogtreecommitdiff
path: root/security/poc/files/patch-src_missing__libs.h
blob: 0dcf40832e8d4698b0754d7bf4aa1c4d8981f806 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$FreeBSD$

--- src/missing_libs.h.orig	Thu Jul 25 17:11:57 2002
+++ src/missing_libs.h	Thu Jul 25 17:12:25 2002
@@ -46,7 +46,7 @@
 #define __bswap_constant_16(x) \
      ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8))
 
-#if defined __GNUC__ && __GNUC__ >= 2
+#if defined __i386__ && defined __GNUC__ && __GNUC__ >= 2
 # define __bswap_16(x) \
      (__extension__                                                           \
       ({ register unsigned short int __v;                                     \