Skip to content

Supporting IBM i/PASE env.#70

Merged
lemire merged 2 commits intolemire:masterfrom
zheddie:master
Dec 8, 2022
Merged

Supporting IBM i/PASE env.#70
lemire merged 2 commits intolemire:masterfrom
zheddie:master

Conversation

@zheddie
Copy link
Copy Markdown
Contributor

@zheddie zheddie commented Dec 7, 2022

This change is for the support of IBM i/PASE env. Could you help to review and kindly merge? Thanks.
NOTE: macro PASE is special for our system,and would not break your project on other platforms.

#elif defined(_WIN32)
static _locale_t c_locale = _create_locale(LC_ALL, "C");
*outDouble = _strtod_l(ptr, &endptr, c_locale);
#else
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be done with

#elif

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your suggestions. This looks better. :-). Pushed the new code. thanks.

@lemire
Copy link
Copy Markdown
Owner

lemire commented Dec 7, 2022

I think it passes our tests. I'd like you to answer my question regarding #elif.

@lemire lemire merged commit 749ba90 into lemire:master Dec 8, 2022
@zheddie
Copy link
Copy Markdown
Contributor Author

zheddie commented Dec 9, 2022

Thanks @lemire do you know how can we make sure it goes into next fixpack/release ? and BTW, do you know what's the next fixpack schedule ? You know , this change is mostly for the lightGBM on our system. With this released, we need to do update for lightGBM then. thanks.

@lemire
Copy link
Copy Markdown
Owner

lemire commented Dec 9, 2022

@zheddie
Copy link
Copy Markdown
Contributor Author

zheddie commented Dec 13, 2022

looks nice. thanks @lemire

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants