Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Platforms/WebAssembly/WebAssemblyViewport.h @ 1901:184b0aeae1af
fix build of sdl
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 29 Jan 2022 16:55:14 +0100 |
parents | 917500c46fe0 |
children | 07964689cb0b |
comparison
equal
deleted
inserted
replaced
1900:563f6aa8e24c | 1901:184b0aeae1af |
---|---|
21 **/ | 21 **/ |
22 | 22 |
23 | 23 |
24 #pragma once | 24 #pragma once |
25 | 25 |
26 #include "../../../OrthancStone/Sources/OrthancStone.h" | 26 #include "../../OrthancStone.h" |
27 | 27 |
28 #if !defined(ORTHANC_ENABLE_WASM) | 28 #if !defined(ORTHANC_ENABLE_WASM) |
29 # error Macro ORTHANC_ENABLE_WASM must be defined | 29 # error Macro ORTHANC_ENABLE_WASM must be defined |
30 #endif | 30 #endif |
31 | 31 |
32 #if ORTHANC_ENABLE_WASM != 1 | 32 #if ORTHANC_ENABLE_WASM != 1 |
33 # error This file can only be used if targeting WebAssembly | 33 # error This file can only be used if targeting WebAssembly |
34 #endif | 34 #endif |
35 | 35 |
36 #include "../../../OrthancStone/Sources/Viewport/IViewport.h" | 36 #include "../../Viewport/IViewport.h" |
37 #include "../../../OrthancStone/Sources/Viewport/IViewportInteractor.h" | 37 #include "../../Viewport/IViewportInteractor.h" |
38 | 38 |
39 #include <Compatibility.h> | 39 #include <Compatibility.h> |
40 | 40 |
41 #include <emscripten.h> | 41 #include <emscripten.h> |
42 #include <emscripten/html5.h> | 42 #include <emscripten/html5.h> |