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

threads_win: fix build error with VS2010 #24370

Closed

Commits on May 11, 2024

  1. threads_win: fix build error with VS2010

    VC 2010 or earlier compilers do not support static inline.
    To work around this problem, we can use the ossl_inline macro.
    
    Fixes:
    crypto\threads_win.c(171) : error C2054: expected '(' to follow 'inline'
    crypto\threads_win.c(172) : error C2085: 'get_hold_current_qp' : not in formal parameter list
    crypto\threads_win.c(172) : error C2143: syntax error : missing ';' before '{'
    crypto\threads_win.c(228) : warning C4013: 'get_hold_current_qp' undefined; assuming extern returning int
    crypto\threads_win.c(228) : warning C4047: '=' : 'rcu_qp *' differs in levels of indirection from 'int'
    
    Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
    httpstorm committed May 11, 2024
    Configuration menu
    Copy the full SHA
    d63b4e9 View commit details
    Browse the repository at this point in the history