diff --git a/Library/Stream-IO/examples/Stream-IO-test.reds b/Library/Stream-IO/examples/Stream-IO-test.reds index d1a417a..d00c63c 100644 --- a/Library/Stream-IO/examples/Stream-IO-test.reds +++ b/Library/Stream-IO/examples/Stream-IO-test.reds @@ -23,7 +23,10 @@ Red/System [ #include %../Stream-IO-read.reds #include %../Stream-IO-write.reds -name: #u16 "test-io.bin" +#either OS = 'Linux [ + name: "test-io.bin" ][ + name: #u16 "test-io.bin" +] file: simple-io/open-file name 0 true print-line ["file handle: " as int-ptr! file] @@ -105,4 +108,4 @@ print-line readString ;= Integer: 42 float: 3.14 pos: 00000042h logic: true print-line readString ;= ending? -print-line "^/-- end reading --^/" \ No newline at end of file +print-line "^/-- end reading --^/"