fixed missing extern C for cpp in makecert.h
This commit is contained in:
parent
94a836078f
commit
535d7668a7
@ -22,6 +22,9 @@
|
|||||||
|
|
||||||
#include <winpr/winpr.h>
|
#include <winpr/winpr.h>
|
||||||
#include <winpr/wtypes.h>
|
#include <winpr/wtypes.h>
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct _MAKECERT_CONTEXT MAKECERT_CONTEXT;
|
typedef struct _MAKECERT_CONTEXT MAKECERT_CONTEXT;
|
||||||
|
|
||||||
@ -34,4 +37,8 @@ WINPR_API int makecert_context_output_private_key_file(MAKECERT_CONTEXT* context
|
|||||||
WINPR_API MAKECERT_CONTEXT* makecert_context_new();
|
WINPR_API MAKECERT_CONTEXT* makecert_context_new();
|
||||||
WINPR_API void makecert_context_free(MAKECERT_CONTEXT* context);
|
WINPR_API void makecert_context_free(MAKECERT_CONTEXT* context);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* MAKECERT_TOOL_H */
|
#endif /* MAKECERT_TOOL_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user