Skip to content

Commit

Permalink
Fix 0.4 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Jun 21, 2016
1 parent ea095fc commit 042a38a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CSV.jl
Expand Up @@ -12,6 +12,7 @@ end
if Base.VERSION < v"0.5.0-dev+4631"
unsafe_wrap{A<:Array}(::Type{A}, ptr, len) = pointer_to_array(ptr, len)
unsafe_string(ptr, len) = utf8(ptr, len)
unsafe_wrap(::Type{String}, ptr, len) = unsafe_string(ptr, len)
end

immutable CSVError <: Exception
Expand Down

0 comments on commit 042a38a

Please sign in to comment.