Skip to content

Commit 589d9a1

Browse files
authored
Merge pull request #23 from andypiper/fix-linux-build
Wrap conditional correctly to avoid emscripten error on Linux build.
2 parents a52bbd4 + 9520a68 commit 589d9a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

desktop/src/tap_to_z80.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ emscripten::val tap_to_z80(std::string filename, const emscripten::val& arrayBuf
103103
delete writer;
104104
return result;
105105
}
106-
#endif
107106

108107
// Bind the JavaScript interface
109108
EMSCRIPTEN_BINDINGS(tape_module) {
110109
emscripten::function("convertTapeToZ80", &tap_to_z80);
111110
}
111+
#endif
112112

113113
#ifndef __EMSCRIPTEN__
114114
// test main file - takes a tap file as the first argument a machine type for the second argument (48k or 128k) and writes a z80 version

0 commit comments

Comments
 (0)