47aaab6ded
PR: 19759 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
29 lines
749 B
Text
29 lines
749 B
Text
--- 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;
|