Skip to content

Commit

Permalink
MatroskaParser: include <alloca.h> on Linux
Browse files Browse the repository at this point in the history
alloca() isn't otherwise available on my Clang build that defaults to non-GNU C++.
  • Loading branch information
tambry authored and arch1t3cht committed Jan 5, 2025
1 parent 229a81c commit 6de9ee2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MatroskaParser.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
#define inline __inline

#include <tchar.h>
#else
#include <alloca.h>
#endif

#ifndef EVCBUG
Expand Down

0 comments on commit 6de9ee2

Please sign in to comment.