Navigation Menu

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 incorrect handling of compile definition with value 0 #2894

Merged
merged 1 commit into from Sep 13, 2017

Conversation

mcopik
Copy link
Contributor

@mcopik mcopik commented Sep 11, 2017

With the current version, adding a compile definition with value "0" does not work. Calling:

hpx_add_config_define(MY_DEFINITION 0)

creates

#define MY_DEFINITION

in hpx/config/defines.hpp. The PR fixes it.

Copy link
Member

@hkaiser hkaiser left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@hkaiser hkaiser added this to the 1.1.0 milestone Sep 11, 2017
@hkaiser hkaiser merged commit 24fc6bf into STEllAR-GROUP:master Sep 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants