-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed build to work with R14,R15,R16,17 and 18 #172
base: master
Are you sure you want to change the base?
Conversation
- Added Erlang version check and correct type selection - Added erlang:timestamp() check script and correct compilation path for rebar and Makefile - Added macro for TIMESTAMP and replaced direct calls with macros
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@dda35e1 |
Moved conditional compilation into .erl files to avoid issues in projects that include emysql header.
Builds failed on Erlang prior to 17
@howleysv : Proposed patch breaks compilation on pre-17 Erlang versions. |
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): |
Included patches: - howleysv@dda35e1 - howleysv@00d2f86
@howleysv, it's patched. Everything seems fine now. |
Merging pull request 172 "Fixed build to work with R14,R15,R16,17 and 18": Eonblast#172
Why wouldn't you accept and apply this pull-request? Is something wrong with it or this repository is abandoned? |
Fixed build scripts and code so it works with latest Erlang/OPT releases.