mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
A better solution to make it compile under cpp
This commit is contained in:
parent
b63f8c7974
commit
a050eb29cf
1 changed files with 1 additions and 3 deletions
|
@ -23,10 +23,8 @@
|
|||
#define LIBWEBSOCKET_H_3060898B846849FF9F88F5DB59B5950C
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#if !defined(__clang__)
|
||||
#include <cstddef>
|
||||
#endif
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef CMAKE_BUILD
|
||||
|
|
Loading…
Add table
Reference in a new issue