Skip to content
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

Fix inconsistent compile condition of two related macros #2285

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EstherWx
Copy link
Contributor

@EstherWx EstherWx commented Jun 3, 2024

The compile conditions of RAPIDJSON_48BITPOINTER_OPTIMIZATION and RAPIDJSON_64BIT are different. But there will be an error when RAPIDJSON_48BITPOINTER_OPTIMIZATION = 1, RAPIDJSON_64BIT != 1.

Define RAPIDJSON_48BITPOINTER_OPTIMIZATION as RAPIDJSON_64BIT to fix this problem.

Issue: #2281

The compile conditions of RAPIDJSON_48BITPOINTER_OPTIMIZATION and
RAPIDJSON_64BIT are different. But there will be an error when
RAPIDJSON_48BITPOINTER_OPTIMIZATION = 1, RAPIDJSON_64BIT != 1.

Define RAPIDJSON_48BITPOINTER_OPTIMIZATION as RAPIDJSON_64BIT to fix
this problem.

Issue: Tencent#2281
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.

1 participant