From b9e2468f7f2d68a2f8d08f1dfe843edb281af900 Mon Sep 17 00:00:00 2001
From: Tim Wickberg <tim@schedmd.com>
Date: Mon, 29 Feb 2016 19:21:54 -0400
Subject: [PATCH] Remove CRAPPY_COMPILER block that allowed for a local bool
 definition.

If your compiler is so bad it can't produce a useable definition of 'bool',
you're going to have a lot of other problems.

No functional change for anyone without CRAPPY_COMPILER defined.
---
 slurm/slurm.h.in | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/slurm/slurm.h.in b/slurm/slurm.h.in
index fd9095f3b75..ac365d291ce 100644
--- a/slurm/slurm.h.in
+++ b/slurm/slurm.h.in
@@ -99,29 +99,6 @@ BEGIN_C_DECLS
 #include <time.h>		/* for time_t definitions */
 #include <unistd.h>
 
-#ifdef CRAPPY_COMPILER
-/*
- * 'bool' can be implemented in a variety of ways.
- * C++ may define it one way.
- * <stdbool.h> may declare 'bool' to be a different type, such as
- * an enum which is not necessarily compatible with C++.
- *
- * If your compiler can't resolve 'bool', just define
- * CRAPPY_COMPILER at build time in order for SLURM to
- * define it's own version of bool.
- */
-
-#undef  TRUE
-#define TRUE   1
-
-#undef  FALSE
-#define FALSE  0
-
-typedef unsigned char SLURM_BOOL;
-#undef  bool
-#define bool SLURM_BOOL
-#endif
-
 /* Define slurm_addr_t below to avoid including extraneous slurm headers */
 #ifdef	HAVE_SYS_SOCKET_H
 #  ifndef __slurm_addr_t_defined
-- 
GitLab