Skip to content

Commit

Permalink
Fixed tests to work on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
p-x9 committed May 12, 2024
1 parent 15554b1 commit ca07321
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Tests/ELFKitTests/Util/Linux.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// Linux.swift
//
//
// Created by p-x9 on 2024/05/12
//
//

import Foundation

#if os(Linux)
func autoreleasepool<T>(block: () -> T) -> T { block() }
#endif

0 comments on commit ca07321

Please sign in to comment.