Skip to content

Commit

Permalink
[core] Fix warning of undefined ENABLE_EXPERIMENTAL_BONDING
Browse files Browse the repository at this point in the history
The warning can be triggered when srt.h is included by other project.
  • Loading branch information
quink-black authored and maxsharabayko committed Feb 8, 2021
1 parent 2d14df2 commit 4744283
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions srtcore/srt.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ static const int32_t SRTGROUP_MASK = (1 << 30);
typedef int SYSSOCKET;
#endif

#ifndef ENABLE_EXPERIMENTAL_BONDING
#define ENABLE_EXPERIMENTAL_BONDING 0
#endif

typedef SYSSOCKET UDPSOCKET;


Expand Down

0 comments on commit 4744283

Please sign in to comment.