Commit d9d6075e authored by Adriaan de Groot's avatar Adriaan de Groot 💬
Browse files

Supporting <stdbool.h> in C++ is a gcc-ism, so guard against it. Since the...

Supporting <stdbool.h> in C++ is a gcc-ism, so guard against it. Since the code is also used from C, need to do it by checking __cplusplus.

svn path=/trunk/KDE/kdeutils/ark/; revision=982211
parent 8b0dfb1e
......@@ -26,7 +26,9 @@
extern "C" {
#endif
#ifndef __cplusplus
#include <stdbool.h>
#endif
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment