summaryrefslogtreecommitdiff
path: root/include/Socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Socket.h')
-rw-r--r--include/Socket.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/Socket.h b/include/Socket.h
index 203b399..055e512 100644
--- a/include/Socket.h
+++ b/include/Socket.h
@@ -1,6 +1,5 @@
#ifndef __SOCKET_H__
#define __SOCKET_H__
-#ifdef __cplusplus
#include <Handle.h>
#include <String.h>
@@ -31,7 +30,4 @@ class Socket : public Handle {
bool connected, listening, writeclosed, readclosed;
};
-#else
-#error This only works with a C++ compiler
-#endif
#endif