summaryrefslogtreecommitdiff
path: root/include/Exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Exceptions.h')
-rw-r--r--include/Exceptions.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/Exceptions.h b/include/Exceptions.h
index a3fad9e..b1ca63f 100644
--- a/include/Exceptions.h
+++ b/include/Exceptions.h
@@ -1,12 +1,12 @@
#ifndef __EXCEPTIONS_H__
#define __EXCEPTIONS_H__
-#ifdef __cplusplus
#include <stdio.h>
#include <unistd.h>
#include <stddef.h>
#include <string.h>
#include <stdlib.h>
+#include <generic.h>
class String;
@@ -100,7 +100,4 @@ class Exit : public GeneralException {
#include <String.h>
-#else
-#error This only works with a C++ compiler
-#endif
#endif