summaryrefslogtreecommitdiff
path: root/net/slurm/patches/patch-ab
blob: 8e93132dec0dcb5cf87a62ae0bef41d9c90c8b34 (plain)
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
30
31
32
33
34
35
36
37
$NetBSD: patch-ab,v 1.3 2006/02/24 19:25:33 joerg Exp $

--- slurm.c.orig	2006-02-24 19:15:46.000000000 +0000
+++ slurm.c
@@ -50,25 +50,25 @@
 #ifdef __HPUX__
 #include "src/hpux.h"
 #include "src/hpux.c"
-#elif __FreeBSD__
+#elif defined(__FreeBSD__)
 #include "src/freebsd.h"
 #include "src/freebsd.c"
-#elif __linux__
+#elif defined(__linux__)
 #include "src/linux.h"
 #include "src/linux.c"
-#elif __OpenBSD__ || __MicroBSD__
+#elif defined(__OpenBSD__) || defined(__MicroBSD__)
 #include "src/openbsd.h"
 #include "src/openbsd.c"
-#elif __NetBSD__
+#elif defined(__NetBSD__)
 #include "src/netbsd.h"
 #include "src/netbsd.c"
-#elif __Solaris__
+#elif defined(__Solaris__)
 #include "src/solaris.h"
 #include "src/solaris.c"
-#elif __APPLE__
+#elif defined(__APPLE__)
 #include "src/macos.h"
 #include "src/macos.c"
-#elif __DragonFly__
+#elif defined(__DragonFly__)
 #include "src/freebsd.h"
 #include "src/freebsd.c"
 #else