From d41c81ad6b85679d253fe763712ebb3cbc9cea75 Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Thu, 3 Mar 2005 02:41:08 +0000
Subject: [PATCH] Correct #if to #ifdef

---
 src/plugins/select/bluegene/bluegene.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/plugins/select/bluegene/bluegene.c b/src/plugins/select/bluegene/bluegene.c
index 61ce1e146fa..5e69049477b 100644
--- a/src/plugins/select/bluegene/bluegene.c
+++ b/src/plugins/select/bluegene/bluegene.c
@@ -55,7 +55,7 @@ char *change_numpsets = NULL;
 bool agent_fini = false;
 
 /* some local functions */
-#if HAVE_BGL
+#ifdef HAVE_BGL
 static int  _addto_node_list(bgl_record_t *bgl_record, int *start, int *end);
 #endif
 static void _set_bgl_lists();
@@ -510,7 +510,7 @@ extern int bgl_free_partition(pm_partition_id_t part_id)
 	return SLURM_SUCCESS;
 }
 
-#if HAVE_BGL
+#ifdef HAVE_BGL
 static int _addto_node_list(bgl_record_t *bgl_record, int *start, int *end)
 {
 	int node_count=0;
@@ -1001,7 +1001,7 @@ static int _parse_bgl_spec(char *in_line)
 
 static void _process_nodes(bgl_record_t *bgl_record)
 {
-#if HAVE_BGL
+#ifdef HAVE_BGL
 	int j=0, number;
 	int start[PA_SYSTEM_DIMENSIONS];
 	int end[PA_SYSTEM_DIMENSIONS];
-- 
GitLab