aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gkrellm/files/patch-ba
blob: 5b707bd09cdaea90fd1898e140bf09bdf92ac91c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: src/apm.c
diff -u src/apm.c.orig src/apm.c
--- src/apm.c.orig  Wed Jan  2 06:06:27 2002
+++ src/apm.c   Mon Feb 11 10:51:43 2002
@@ -61,7 +61,7 @@
 
 /* ------- FreeBSD ------------------------------------------------------- */
 
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) && defined(__i386__)
 #include <osreldate.h>
 #include <machine/apm_bios.h>
 #define    APMDEV      "/dev/apm"
@@ -206,7 +206,7 @@
        return TRUE;
        }
 
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) && defined(__i386__)
    read_apm_data = read_freebsd_apm_data;
    available = TRUE;
 #endif