blob: b66afe7118f889101c6f262be8517190950981bb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- src/graphics.c.orig Mon Nov 9 08:22:55 1998
+++ src/graphics.c Fri Jun 30 19:49:18 2000
@@ -30,7 +30,7 @@
#ifdef linux
#include <endian.h>
-#elif defined (FreeBSD)
+#elif defined (__FreeBSD__)
#include <machine/endian.h>
#elif defined (sgi)
#include <sys/endian.h>
@@ -1476,7 +1476,7 @@
if (md->mb->exposing) return;
*/
-#if defined (linux) || defined (FreeBSD)
+#if defined (linux) || defined (__FreeBSD__)
if (resizing) {
resizing=FALSE;
return;
@@ -1532,7 +1532,7 @@
void expose_canvas (Widget w, Main_Data *md, XExposeEvent *event, Boolean *flg)
{
-#if defined (linux) || defined (FreeBSD)
+#if defined (linux) || defined (__FreeBSD__)
if (resizing) {
if (!event->count) resizing=FALSE;
return;
|