diff --git a/src/LegacyStrings.jl b/src/LegacyStrings.jl index eeef23c..5a232bd 100644 --- a/src/LegacyStrings.jl +++ b/src/LegacyStrings.jl @@ -42,7 +42,7 @@ import Base: uppercase, write - if VERSION >= v"0.5.0-" + if !isdefined(Base, :ASCIIString) immutable ASCIIString <: DirectIndexString data::Array{UInt8,1} end