Skip to content

Commit

Permalink
[core] Fixed TARGET_OS_MAC not defined.
Browse files Browse the repository at this point in the history
Wrong include order.
  • Loading branch information
maxsharabayko committed Nov 18, 2022
1 parent f86df39 commit f864cec
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion srtcore/buffer_rcv.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include "buffer_tools.h" // AvgBufSize
#include "common.h"
#include "queue.h"
#include "sync.h"
#include "tsbpd_time.h"

namespace srt
Expand Down
1 change: 0 additions & 1 deletion srtcore/buffer_tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ modified by
#include "buffer_tools.h"
#include "packet.h"
#include "logger_defs.h"
#include "sync.h"
#include "utilities.h"

namespace srt {
Expand Down
1 change: 0 additions & 1 deletion srtcore/buffer_tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ modified by
#ifndef INC_SRT_BUFFER_TOOLS_H
#define INC_SRT_BUFFER_TOOLS_H

#include "sync.h"
#include "common.h"

namespace srt {
Expand Down
2 changes: 2 additions & 0 deletions srtcore/sync.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#ifndef INC_SRT_SYNC_H
#define INC_SRT_SYNC_H

#include "platform_sys.h"

#include <cstdlib>
#include <limits>
#ifdef ENABLE_STDCXX_SYNC
Expand Down

0 comments on commit f864cec

Please sign in to comment.