Skip to content
Snippets Groups Projects
Commit 5cca68ee authored by Morris Jette's avatar Morris Jette
Browse files

Avoid error on duplicate definition of bool

This was generated in the course of buildign test7.17, that calls
libslurm.o functions directly.
parent 4290a730
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,9 @@
#if HAVE_STDBOOL_H
# include <stdbool.h>
#else
typedef enum {false, true} bool;
# ifndef bool
typedef enum {false, true} bool;
# endif
#endif /* !HAVE_STDBOOL_H */
#if HAVE_PTHREAD_H
......
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