* Fix __cplusplus macro usage.
authorUrban Wallasch <urban.wallasch@freenet.de>
Thu, 23 Apr 2020 08:17:46 +0000 (10:17 +0200)
committerUrban Wallasch <urban.wallasch@freenet.de>
Thu, 23 Apr 2020 08:17:46 +0000 (10:17 +0200)
net.h

diff --git a/net.h b/net.h
index a57f50bfc1e50d08e84fc0b9dadf4f357e0f9278..8dd5a827ea357395062b404962369c84d6c5cfbf 100644 (file)
--- a/net.h
+++ b/net.h
@@ -34,7 +34,7 @@
 #ifndef NET_H_
 #define NET_H_
 
-#ifdef cplusplus
+#ifdef __cplusplus
 extern "C" {
 #endif
 
@@ -249,7 +249,7 @@ extern ssize_t sendto_tm(int fd, const void *buf, size_t len, int flags,
 extern int64_t sendfile_tm(int out_fd, int in_fd, int64_t count, int timeout);
 
 
-#ifdef cplusplus
+#ifdef __cplusplus
 }
 #endif