Fixed build to work with R14,R15,R16,17 and 18
Fixed build scripts and code so it works with latest Erlang/OPT releases.
Good job!
I propose a change to move the conditional compilation into the .erl files to avoid issues in projects that include the emysql header.
See my patch: howleysv/Emysql@dda35e151917c0f43728c15aa4eee98f5aa6e1d3
@howleysv : Proposed patch breaks compilation on pre-17 Erlang versions. (https://travis-ci.org/Eonblast/Emysql/builds/77387690)
Sorry, I should have tested this myself!
I forgot that the built-in types could not be redefined in <17. Renaming to t_type as before seems to work (tested in 18.0 and R16B03-1):
howleysv/Emysql@00d2f864d8cea44a7260d1fccf480a8885e16455
@howleysv, it's patched. Everything seems fine now.
Why wouldn't you accept and apply this pull-request? Is something wrong with it or this repository is abandoned?