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
1 changed files with 5 additions and 11 deletions
16
e_os.h
16
e_os.h
|
@ -59,6 +59,11 @@
|
||||||
#ifndef HEADER_E_OS_H
|
#ifndef HEADER_E_OS_H
|
||||||
#define 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
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
@ -242,17 +247,6 @@ extern "C" {
|
||||||
|
|
||||||
#endif
|
#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 a new issue