Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Don't use WXUSINGDLL, use custom flag instead #6

Merged
merged 1 commit into from
Nov 11, 2022

Conversation

Blake-Madden
Copy link
Contributor

WXUSINGDLL may enabled by build systems for something else and may not be what we are wanting when building this library. Instead, use more library-specific JSON_USING_DLL and JSON_CREATING_DLL flags to control DLL import/export options.
Also, don't use API_EXPORT (might conflict with something else), use more specific JSON_API_EXPORT.

WXUSINGDLL may enabled by build system for something else and may not be what we are wanting for this library. Instead, use more library-specific JSON_USING_DLL and JSON_CREATING_DLL flags to control DLL import/export options. Also, don't use API_EXPORT (might conflict with something else), use JSON_API_EXPORT.
@mtangoo
Copy link
Contributor

mtangoo commented Nov 11, 2022

Technically it changes nothing. But you have a point on code readability. I will be merging this.
Thank you for your time and efforts

@mtangoo mtangoo merged commit 833af93 into hosannahighertech:master Nov 11, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants