Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
SysDefs.h
Go to the documentation of this file.
1 /************************************************************************/
2 /**
3 
4  \file SysDefs.h
5 
6  \version V1.3
7  \date 14.05.15
8  \brief System-type variable type definitions
9 
10  \copyright (c) UCL / Dr. Andrew C. R. Martin 1993-2015
11  \author Dr. Andrew C. R. Martin
12  \par
13  Institute of Structural & Molecular Biology,
14  University College London,
15  Gower Street,
16  London.
17  WC1E 6BT.
18  \par
19  andrew@bioinf.org.uk
20  andrew.martin@ucl.ac.uk
21 
22 **************************************************************************
23 
24  This code is NOT IN THE PUBLIC DOMAIN, but it may be copied
25  according to the conditions laid out in the accompanying file
26  COPYING.DOC.
27 
28  The code may be modified as required, but any modifications must be
29  documented so that the person responsible can be identified.
30 
31  The code may not be sold commercially or included as part of a
32  commercial product except as described in the file COPYING.DOC.
33 
34 **************************************************************************
35 
36  Description:
37  ============
38 
39 
40 **************************************************************************
41 
42  Usage:
43  ======
44 
45 **************************************************************************
46 
47  Revision History:
48  =================
49 - V1.0 01.03.94 Original By: ACRM
50 - V1.1 02.08.95 Added UCHAR
51 - V1.2 01.02.96 Added UBYTE
52 - V1.3 14.05.15 Added BPTR
53 
54 *************************************************************************/
55 #ifndef _SYSDEFS_H
56 #define _SYSDEFS_H
57 
58 #ifndef EXEC_TYPES_H /* Commodore Amiga; defines in <exec/types.h> */
59 typedef void *APTR;
60 typedef char *BPTR;
61 
62 #ifndef SYS_TYPES_H /* Unix: <sys/types.h>, MS-DOS: <sys\types.h> */
63 #ifndef _TYPES_ /* Ditto */
64 typedef short BOOL;
65 typedef long LONG;
66 typedef unsigned long ULONG;
67 typedef short SHORT;
68 typedef unsigned short USHORT;
69 typedef unsigned char UCHAR;
70 typedef unsigned char UBYTE;
71 #endif
72 #endif
73 #endif
74 
75 #ifndef TRUE
76 #define TRUE 1
77 #endif
78 #ifndef FALSE
79 #define FALSE 0
80 #endif
81 
82 #ifdef _ESV_
83 typedef long time_t; /* Required on E&S System V */
84 typedef long clock_t; /* Ditto */
85 #define CLOCKS_PER_SEC 1000000 /* Ditto */
86 #endif
87 
88 #endif
char * BPTR
Definition: SysDefs.h:60
unsigned short USHORT
Definition: SysDefs.h:68
short BOOL
Definition: SysDefs.h:64
void * APTR
Definition: SysDefs.h:59
long LONG
Definition: SysDefs.h:65
unsigned long ULONG
Definition: SysDefs.h:66
short SHORT
Definition: SysDefs.h:67
unsigned char UBYTE
Definition: SysDefs.h:70
unsigned char UCHAR
Definition: SysDefs.h:69