• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /macosx-10.10.1/Security-57031.1.35/Security/libsecurity_apple_csp/open_ssl/openssl/
1/*
2 * Copyright (c) 2000-2001,2011,2014 Apple Inc. All Rights Reserved.
3 *
4 * The contents of this file constitute Original Code as defined in and are
5 * subject to the Apple Public Source License Version 1.2 (the 'License').
6 * You may not use this file except in compliance with the License. Please obtain
7 * a copy of the License at http://www.apple.com/publicsource and read it before
8 * using this file.
9 *
10 * This Original Code and all software distributed under the License are
11 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS
12 * OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT
13 * LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
14 * PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the
15 * specific language governing rights and limitations under the License.
16 */
17
18
19/* e_os2.h */
20
21#ifndef HEADER_E_OS2_H
22#define HEADER_E_OS2_H
23
24#ifdef  __cplusplus
25extern "C" {
26#endif
27
28#include <openssl/opensslconf.h> /* OPENSSL_UNISTD */
29
30#ifdef MSDOS
31# define OPENSSL_UNISTD_IO <io.h>
32# define OPENSSL_DECLARE_EXIT extern void exit(int);
33#else
34# define OPENSSL_UNISTD_IO OPENSSL_UNISTD
35# define OPENSSL_DECLARE_EXIT /* declared in unistd.h */
36#endif
37
38/* Definitions of OPENSSL_GLOBAL and OPENSSL_EXTERN,
39   to define and declare certain global
40   symbols that, with some compilers under VMS, have to be defined and
41   declared explicitely with globaldef and globalref.  On other OS:es,
42   these macros are defined with something sensible. */
43
44#if defined(VMS) && !defined(__DECC)
45# define OPENSSL_EXTERN globalref
46# define OPENSSL_GLOBAL globaldef
47#else
48# define OPENSSL_EXTERN extern
49# define OPENSSL_GLOBAL
50#endif
51
52#ifdef  __cplusplus
53}
54#endif
55#endif
56
57