Skip to content

Commit ba96bf0

Browse files
committed
move emscripten include to implementation file
1 parent da08c7b commit ba96bf0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libheif/api/libheif/heif.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
#include <vector>
2929
#include <memory>
3030

31+
#if defined(__EMSCRIPTEN__) && !defined(__EMSCRIPTEN_STANDALONE_WASM__)
32+
#include "heif_emscripten.h"
33+
#endif
34+
3135

3236
#if HEIF_ENABLE_EXPERIMENTAL_FEATURES
3337

libheif/api/libheif/heif.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,4 @@
3838
#include <libheif/heif_image_handle.h>
3939
#include <libheif/heif_tiling.h>
4040

41-
#if defined(__EMSCRIPTEN__) && !defined(__EMSCRIPTEN_STANDALONE_WASM__)
42-
#include "heif_emscripten.h"
43-
#endif
44-
4541
#endif

0 commit comments

Comments
 (0)