mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-09 20:06:31 +00:00
fix 8266 builds, add missing guards (#22924)
This commit is contained in:
parent
def7ede895
commit
aaa49f84ab
@ -7,6 +7,7 @@
|
||||
// be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
#include "mkvmuxer.h"
|
||||
#ifdef ESP32
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@ -4202,3 +4203,5 @@ bool Segment::DocTypeIsWebm() const {
|
||||
}
|
||||
|
||||
} // namespace mkvmuxer
|
||||
|
||||
#endif //ESP32
|
@ -8,6 +8,7 @@
|
||||
|
||||
#ifndef MKVMUXER_MKVMUXER_H_
|
||||
#define MKVMUXER_MKVMUXER_H_
|
||||
#ifdef ESP32
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@ -1921,4 +1922,5 @@ class Segment {
|
||||
|
||||
} // namespace mkvmuxer
|
||||
|
||||
#endif // ESP32
|
||||
#endif // MKVMUXER_MKVMUXER_H_
|
||||
|
@ -7,6 +7,7 @@
|
||||
// be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
#include "mkvmuxerutil.h"
|
||||
#ifdef ESP32
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#include <fcntl.h>
|
||||
@ -735,3 +736,4 @@ bool IsPrimariesValueValid(uint64_t value) {
|
||||
}
|
||||
|
||||
} // namespace mkvmuxer
|
||||
#endif // ESP32
|
@ -7,6 +7,7 @@
|
||||
// be found in the AUTHORS file in the root of the source tree.
|
||||
#ifndef MKVMUXER_MKVMUXERUTIL_H_
|
||||
#define MKVMUXER_MKVMUXERUTIL_H_
|
||||
#ifdef ESP32
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@ -112,4 +113,5 @@ bool IsPrimariesValueValid(uint64_t value);
|
||||
|
||||
} // namespace mkvmuxer
|
||||
|
||||
#endif // ESP32
|
||||
#endif // MKVMUXER_MKVMUXERUTIL_H_
|
||||
|
@ -7,6 +7,7 @@
|
||||
// be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
#include "mkvwriter.h"
|
||||
#ifdef ESP32
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
@ -97,3 +98,4 @@ bool MkvWriter::Seekable() const {
|
||||
void MkvWriter::ElementStartNotify(uint64, int64) {}
|
||||
|
||||
} // namespace mkvmuxer
|
||||
#endif // ESP32
|
@ -9,9 +9,10 @@
|
||||
#ifndef MKVMUXER_MKVWRITER_H_
|
||||
#define MKVMUXER_MKVWRITER_H_
|
||||
|
||||
#ifdef ESP32
|
||||
#include <stdio.h>
|
||||
#include "Fs.h"
|
||||
|
||||
#include "Fs.h"
|
||||
#include "mkvmuxer.h"
|
||||
#include "mkvmuxertypes.h"
|
||||
|
||||
@ -55,4 +56,5 @@ class MkvWriter : public IMkvWriter {
|
||||
|
||||
} // namespace mkvmuxer
|
||||
|
||||
#endif // ESP32
|
||||
#endif // MKVMUXER_MKVWRITER_H_
|
||||
|
Loading…
x
Reference in New Issue
Block a user