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

Include sl_util.h to define MIN in mini_snprintf.h #308

Merged
merged 1 commit into from
Sep 19, 2018

Conversation

deeglaze
Copy link
Contributor

@deeglaze deeglaze commented Sep 5, 2018

The MIN macro is not defined in any of the included headers.
Since it's only used in one place, replace the use with the intended
expansion instead of defining MIN.

Signed-off-by: Dionna Glaze dionnaglaze@google.com

@lzha101
Copy link
Contributor

lzha101 commented Sep 17, 2018

This header file is added to support Switchless Calls. And there is a MIN definition in the header file (common/inc/internal/sl_util.h) for switchless. How about including the header file to this header?

Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
@deeglaze deeglaze changed the title Expand the MIN macro in mini_snprintf.h Include sl_util.h to define MIN in mini_snprintf.h Sep 17, 2018
@deeglaze
Copy link
Contributor Author

Updated.

@lzha101 lzha101 merged commit 5a0de59 into intel:master Sep 19, 2018
llly added a commit to llly/linux-sgx that referenced this pull request Sep 28, 2018
These PRs are lost in Linux 2.3.1 Open Source Gold Release

Signed-off-by: Li, Xun <xun.li@intel.com>
andyzyb added a commit that referenced this pull request Sep 28, 2018
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