blob: d36c98bd36638bccc295dbed57de1540001c7aec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- src/effects.c.orig Mon Nov 9 08:22:55 1998
+++ src/effects.c Fri Jun 30 19:49:16 2000
@@ -348,7 +348,7 @@
switch (sr->res) {
case 8: {
-#if defined (linux) || defined (FreeBSD)
+#if defined (linux) || defined (__FreeBSD__)
for (i=0;i<newlength;i++) newbuf[i]=obuf[(i<<1)+1]+128;
#elif defined (sgi) || defined (sun)
for (i=0;i<newlength;i++) newbuf[i]=obuf[(i<<1)]+128;
@@ -356,7 +356,7 @@
break;
}
case 16: {
-#if defined (linux) || defined (FreeBSD)
+#if defined (linux) || defined (__FreeBSD__)
for (i=0;i<wd->length;i++) newbuf[(i<<1)+1]=obuf[i]-128;
#elif defined (sgi) || defined (sun)
for (i=0;i<wd->length;i++) newbuf[(i<<1)]=obuf[i]-128;
|