From 5aecd5d443e2e1863e6a62daef3780f1de4c1ea1 Mon Sep 17 00:00:00 2001 From: Urban Wallasch Date: Thu, 23 Apr 2020 10:17:46 +0200 Subject: [PATCH] * Fix __cplusplus macro usage. --- net.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2