2
* ===========================================================================
5
* National Center for Biotechnology Information
7
* This software/database is a "United States Government Work" under the
8
* terms of the United States Copyright Act. It was written as part of
9
* the author's official duties as a United States Government employee and
10
* thus cannot be copyrighted. This software/database is freely available
11
* to the public for use. The National Library of Medicine and the U.S.
12
* Government have not placed any restriction on its use or reproduction.
14
* Although all reasonable efforts have been taken to ensure the accuracy
15
* and reliability of the software and data, the NLM and the U.S.
16
* Government do not and cannot warrant the performance or results that
17
* may be obtained by using this software or data. The NLM and the U.S.
18
* Government disclaim all warranties, express or implied, including
19
* warranties of performance, merchantability or fitness for any particular
22
* Please cite the author in any work or product based on this material.
24
* ===========================================================================
26
* File Name: ncbilcl.h
28
* Author: Gish, Kans, Ostell, Schuler
30
* Version Creation Date: 1/1/91
35
* system dependent header
39
* --------------------------------------------------------------------------
40
* Date Name Description of modification
41
* ------- ---------- -----------------------------------------------------
43
* $Log: ncbilcl.thc,v $
44
* Revision 6.0 1997/08/25 18:16:24 madden
45
* Revision changed to 6.0
47
* Revision 5.0 1996/05/28 13:18:57 ostell
50
Revision 4.0 1995/07/26 13:46:50 ostell
53
Revision 2.9 1995/05/15 18:45:58 ostell
58
* ==========================================================================
63
/* PLATFORM DEFINITION FOR MACINTOSH UNDER THINK C */
69
#if defined(powerc) || defined(__powerc) || defined(__POWERPC)
75
/*----------------------------------------------------------------------*/
76
/* Desired or available feature list */
77
/*----------------------------------------------------------------------*/
79
/*----------------------------------------------------------------------*/
81
/*----------------------------------------------------------------------*/
92
/*----------------------------------------------------------------------*/
93
/* Missing ANSI-isms */
94
/*----------------------------------------------------------------------*/
96
#define FILENAME_MAX 255
99
/*----------------------------------------------------------------------*/
100
/* Aliased Logicals, Datatypes */
101
/*----------------------------------------------------------------------*/
103
/*----------------------------------------------------------------------*/
105
/*----------------------------------------------------------------------*/
106
#define PROTO(x) x /* Function prototypes are real */
107
#define VPROTO(x) x /* Prototype for variable argument list */
108
#define DIRDELIMCHR ':'
109
#define DIRDELIMSTR ":"
113
#define MBYTE (1048576L)
115
#define IS_BIG_ENDIAN
117
/*----------------------------------------------------------------------*/
118
/* For importing MS_DOS code */
119
/*----------------------------------------------------------------------*/
130
/*----------------------------------------------------------------------*/
131
/* Macros for Floating Point */
132
/*----------------------------------------------------------------------*/
133
#define EXP2(x) exp((x)*LN2)
134
#define LOG2(x) (log(x)*(1./LN2))
135
#define EXP10(x) exp((x)*LN10)
136
#define LOG10(x) (log(x)*(1./LN10))
138
/*----------------------------------------------------------------------*/
139
/* Macros Defining Limits */
140
/*----------------------------------------------------------------------*/
141
#define MAXALLOC 0x40000000 /* Largest permissible memory request */