Skip to content

Commit eb6b1a1

Browse files
committed
Try to fix linux
1 parent 8394fc5 commit eb6b1a1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/Interpreter/dynamic_replacement_dlclose.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ DynamicallyReplaceable.test("DynamicallyReplaceable") {
4949

5050
expectEqual(2, test())
5151

52+
#if os(Linux)
53+
#elseif os(Windows)
54+
#else
5255
dlclose(h)
56+
#endif
5357

5458
#if os(Linux)
5559
_ = dlopen(target_library_name("Module2"), RTLD_NOW)

0 commit comments

Comments
 (0)