mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 22:34:33 +01:00
Remove openssl dependency when building without network support
This commit is contained in:
committed by
Michał Janiszewski
parent
7c7b67f665
commit
e0a6955924
@@ -43,7 +43,6 @@ extern "C" {
|
||||
#include "../game.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../localisation/string_ids.h"
|
||||
#include <openssl/evp.h>
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif // __cplusplus
|
||||
@@ -52,6 +51,14 @@ extern "C" {
|
||||
|
||||
#ifndef DISABLE_NETWORK
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
#include <openssl/evp.h>
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif // __cplusplus
|
||||
|
||||
// This define specifies which version of network stream current build uses.
|
||||
// It is used for making sure only compatible builds get connected, even within
|
||||
// single OpenRCT2 version.
|
||||
|
||||
Reference in New Issue
Block a user