Comcast / mamba

Mamba is a Swift iOS, tvOS and macOS framework to parse, validate and write HTTP Live Streaming (HLS) data.
Apache License 2.0
180 stars 40 forks source link

Fixed a compilation error on Xcode 16 Beta with tvOS 18. #126

Closed fbernardo closed 2 months ago

fbernardo commented 3 months ago

Description

This PR fixes a compilation error in Xcode 16 Beta compiling against the tvOS 18 SDK:

/mamba/mambaSharedFramework/Rapid Parser/RapidParserNewTagCallbacks.h:25:53: Missing '#include <_types/_uint64_t.h>'; 'uint64_t' must be declared before it is used

Change Notes

Pre-submission Checklist

CLAassistant commented 3 months ago

CLA assistant check
All committers have signed the CLA.

MKW11 commented 2 months ago

Hey Guys! Is it possible to merge and release this? We could very much use it at Sky and NBC for some testing. As there is no SPM file on this repository, we can only import it via official release. If you prefer this import be conditional, as the XCode 16 has not been released yet, please let me recommend the following:

#if __clang_major__ >= 16
    #include <stdint.h>
#endif

Thank you for your kind consideration.