1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/x11-wm/icewm/files/patch-src_aapm.h
Kirill Ponomarev d08e131455 - Fix build on non-i386 architectures
PR:		58244
Submitted by:	Ports Fury
2003-10-19 18:11:20 +00:00

19 lines
366 B
C

--- src/aapm.h.orig Sat Sep 27 16:54:45 2003
+++ src/aapm.h Sun Oct 19 09:17:31 2003
@@ -1,7 +1,5 @@
-#ifndef linux
-#undef CONFIG_APPLET_APM
-#elif CONFIG_APPLET_APM
+#if (defined(linux) || defined (__FreeBSD__)) && defined(i386)
#include "ywindow.h"
#include "ytimer.h"
@@ -64,4 +62,6 @@
char *acpiACName;
};
+#else
+#undef CONFIG_APPLET_APM
#endif