Skip to content
Snippets Groups Projects
Commit d41c81ad authored by Moe Jette's avatar Moe Jette
Browse files

Correct #if to #ifdef

parent a59e547c
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ char *change_numpsets = NULL; ...@@ -55,7 +55,7 @@ char *change_numpsets = NULL;
bool agent_fini = false; bool agent_fini = false;
/* some local functions */ /* some local functions */
#if HAVE_BGL #ifdef HAVE_BGL
static int _addto_node_list(bgl_record_t *bgl_record, int *start, int *end); static int _addto_node_list(bgl_record_t *bgl_record, int *start, int *end);
#endif #endif
static void _set_bgl_lists(); static void _set_bgl_lists();
...@@ -510,7 +510,7 @@ extern int bgl_free_partition(pm_partition_id_t part_id) ...@@ -510,7 +510,7 @@ extern int bgl_free_partition(pm_partition_id_t part_id)
return SLURM_SUCCESS; return SLURM_SUCCESS;
} }
#if HAVE_BGL #ifdef HAVE_BGL
static int _addto_node_list(bgl_record_t *bgl_record, int *start, int *end) static int _addto_node_list(bgl_record_t *bgl_record, int *start, int *end)
{ {
int node_count=0; int node_count=0;
...@@ -1001,7 +1001,7 @@ static int _parse_bgl_spec(char *in_line) ...@@ -1001,7 +1001,7 @@ static int _parse_bgl_spec(char *in_line)
static void _process_nodes(bgl_record_t *bgl_record) static void _process_nodes(bgl_record_t *bgl_record)
{ {
#if HAVE_BGL #ifdef HAVE_BGL
int j=0, number; int j=0, number;
int start[PA_SYSTEM_DIMENSIONS]; int start[PA_SYSTEM_DIMENSIONS];
int end[PA_SYSTEM_DIMENSIONS]; int end[PA_SYSTEM_DIMENSIONS];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment