When compiling for Windows, make sure we have the windows definitions declared.
Part of PR 123
This commit is contained in:
parent
e1a32c1807
commit
fb96d9d90d
@ -61,6 +61,11 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <openssl/ossl_typ.h>
|
#include <openssl/ossl_typ.h>
|
||||||
|
#include <openssl/opensslconf.h>
|
||||||
|
|
||||||
|
#if defined(OPENSSL_SYS_WINDOWS)
|
||||||
|
#include <windows.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -98,7 +103,7 @@ int RAND_egd(const char *path);
|
|||||||
int RAND_egd_bytes(const char *path,int bytes);
|
int RAND_egd_bytes(const char *path,int bytes);
|
||||||
int RAND_poll(void);
|
int RAND_poll(void);
|
||||||
|
|
||||||
#if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_WIN32)
|
#if defined(OPENSSL_SYS_WINDOWS)
|
||||||
|
|
||||||
void RAND_screen(void);
|
void RAND_screen(void);
|
||||||
int RAND_event(UINT, WPARAM, LPARAM);
|
int RAND_event(UINT, WPARAM, LPARAM);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user