Skip to content

Commit

Permalink
Swift 3_1 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Joannis committed Mar 29, 2017
1 parent a331a10 commit 9f3dfc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Compatibility.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

import Foundation

#if os(macOS) || os(iOS)
#if os(macOS) || os(iOS) || swift(>=3.1)
public typealias RegularExpression = NSRegularExpression
#endif

0 comments on commit 9f3dfc8

Please sign in to comment.