~ubuntu-branches/ubuntu/jaunty/psi/jaunty

« back to all changes in this revision

Viewing changes to src/openssl/e_os2.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2005-01-10 17:41:43 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050110174143-ltocv5zapl6blf5d
Tags: 0.9.3-1
* New upstream release
* Cleaned up debian/rules (some things are done by upstream Makefiles now)
* Fixed some lintian warnings:
  - removed executable bit from some .png files
  - moved psi.desktop to /usr/share/applications
* Updated menu files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* e_os2.h */
2
 
 
3
 
#ifndef HEADER_E_OS2_H
4
 
#define HEADER_E_OS2_H
5
 
 
6
 
#include "opensslconf.h" /* OPENSSL_UNISTD */
7
 
 
8
 
#ifdef  __cplusplus
9
 
extern "C" {
10
 
#endif
11
 
 
12
 
#ifdef MSDOS
13
 
# define OPENSSL_UNISTD_IO <io.h>
14
 
# define OPENSSL_DECLARE_EXIT extern void exit(int);
15
 
#else
16
 
# define OPENSSL_UNISTD_IO OPENSSL_UNISTD
17
 
# define OPENSSL_DECLARE_EXIT /* declared in unistd.h */
18
 
#endif
19
 
 
20
 
/* Definitions of OPENSSL_GLOBAL and OPENSSL_EXTERN,
21
 
   to define and declare certain global
22
 
   symbols that, with some compilers under VMS, have to be defined and
23
 
   declared explicitely with globaldef and globalref.  On other OS:es,
24
 
   these macros are defined with something sensible. */
25
 
 
26
 
#if defined(VMS) && !defined(__DECC)
27
 
# define OPENSSL_EXTERN globalref
28
 
# define OPENSSL_GLOBAL globaldef
29
 
#else
30
 
# define OPENSSL_EXTERN extern
31
 
# define OPENSSL_GLOBAL
32
 
#endif
33
 
 
34
 
#ifdef  __cplusplus
35
 
}
36
 
#endif
37
 
#endif
38