From: Urban Wallasch Date: Thu, 23 Apr 2020 08:17:46 +0000 (+0200) Subject: * Fix __cplusplus macro usage. X-Git-Tag: v0.1.0~1 X-Git-Url: https://git.packet-gain.de/?a=commitdiff_plain;h=5aecd5d443e2e1863e6a62daef3780f1de4c1ea1;p=ets2_tele.git * Fix __cplusplus macro usage. --- diff --git a/net.h b/net.h index a57f50b..8dd5a82 100644 --- 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