Skip to content

Commit

Permalink
Collapse FreeBSD and OpenBSD cases into one
Browse files Browse the repository at this point in the history
Suggested by @ilya-fedin, thanks!

Co-authored-by: ilya-fedin <[email protected]>
  • Loading branch information
2 people authored and john-preston committed Feb 25, 2022
1 parent 6d03453 commit a264028
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/rtc_base/platform_thread_types.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ typedef HRESULT(WINAPI* RTC_SetThreadDescription)(HANDLE hThread,
PCWSTR lpThreadDescription);
#endif

#if defined(WEBRTC_FREEBSD)
#include <pthread_np.h>
#elif defined(WEBRTC_OPENBSD)
#if defined(WEBRTC_FREEBSD) || defined(WEBRTC_OPENBSD)
#include <pthread_np.h>
#endif

Expand Down

0 comments on commit a264028

Please sign in to comment.