Skip to content

Commit 3c3cb08

Browse files
committed
Fix build with glib < 2.68
1 parent 174db6d commit 3c3cb08

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/platform/Linux/bluez/BluezEndpoint.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@
7575
#include "BluezConnection.h"
7676
#include "Types.h"
7777

78+
#if !GLIB_CHECK_VERSION(2, 68, 0)
79+
#define g_memdup2 g_memdup
80+
#endif
81+
7882
namespace chip {
7983
namespace DeviceLayer {
8084
namespace Internal {

0 commit comments

Comments
 (0)