mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
e_os2.h is used for things that must be visible when external applications
use (certain parts of) OpenSSL.
This commit is contained in:
parent
2a4a0a340d
commit
fa470a84a0
16
e_os.h
16
e_os.h
@ -59,6 +59,11 @@
|
||||
#ifndef HEADER_E_OS_H
|
||||
#define HEADER_E_OS_H
|
||||
|
||||
#include <openssl/e_os2.h>
|
||||
/* <openssl/e_os2.h> contains what we can justify to make visible
|
||||
* to the outside. e_os.h shouldn't even be in the include/openssl
|
||||
* directory, these are just local definitions. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@ -242,17 +247,6 @@ extern "C" {
|
||||
|
||||
#endif
|
||||
|
||||
/* Definitions of GLOBAL and EXTERN, to define and declare certain global
|
||||
symbols that, with some compilers under VMS, have to be defined and
|
||||
declared explicitely with globaldef and globalref. On other OS:es,
|
||||
these macros are defined with something sensible. */
|
||||
#if defined(VMS) && !defined(__DECC)
|
||||
#define EXTERN globalref
|
||||
#define GLOBAL globaldef
|
||||
#else
|
||||
#define EXTERN extern
|
||||
#define GLOBAL
|
||||
#endif
|
||||
|
||||
/*************/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user