[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdemultimedia/mpeglib/lib/util/render/dither2YUV
From:       Adrian Schroeter <adrian () suse ! de>
Date:       2003-08-25 14:50:39
[Download RAW message or body]

CVS commit by adrian: 

unbreak compile for freebsd


  M +4 -0      rgb2yuvdefs.h   1.3


--- kdemultimedia/mpeglib/lib/util/render/dither2YUV/rgb2yuvdefs.h  #1.2:1.3
@@ -21,6 +21,10 @@
 /* gcc 3.3.1 and later optimise the "not used" (only in asm code)
    symbols away. So we need to mark them as used. */
+#ifdef __GNUC_PREREQ
 #if __GNUC_PREREQ (3,1)
 # define __attribute_used__ __attribute__ ((__used__))
+#else
+# define __attribute_used__ 
+#endif
 #else
 # define __attribute_used__ 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic