Skip to content

Commit 887779e

Browse files
JustAMandmitrylyzo
authored andcommitted
Allow to compile CPP-file alone
Only for testing the compilation of this file. [part of] Rework buffer into C++ class Cherry-picked from: jellyfin@6d3a5c7
1 parent f608baa commit 887779e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/SubtitleOctopus.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,4 +351,6 @@ class SubtitleOctopus {
351351

352352
int main(int argc, char *argv[]) { return 0; }
353353

354+
#ifdef __EMSCRIPTEN__
354355
#include "./SubOctpInterface.cpp"
356+
#endif

0 commit comments

Comments
 (0)