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, Epstein
30
* Version Creation Date: 8/3/94
35
* system dependent header
37
* for Solaris 2.2 on a SPARCstation
40
* --------------------------------------------------------------------------
41
* Date Name Description of modification
42
* ------- ---------- -----------------------------------------------------
45
* $Log: ncbilcl.scr,v $
46
* Revision 6.0 1997/08/25 18:16:13 madden
47
* Revision changed to 6.0
49
* Revision 5.0 1996/05/28 13:18:57 ostell
52
# Revision 4.0 1995/07/26 13:46:50 ostell
53
# force revision to 4.0
55
# Revision 1.4 1995/05/15 18:45:58 ostell
60
* ==========================================================================
65
/* PLATFORM DEFINITION FOR Solaris Unix on SparcStation */
73
/*----------------------------------------------------------------------*/
74
/* Desired or available feature list */
75
/*----------------------------------------------------------------------*/
76
/*#define MPROC_AVAIL*/
77
#define SYSV_IPC_AVAIL /* System V Interprocess Communication available */
78
#define SYSV_STREAMS_AVAIL /* System V STREAMS module available */
81
/* For Solaris, _REENTRANT must be defined when compiling all modules or none */
83
#define SOLARIS_THREADS_AVAIL
86
/*----------------------------------------------------------------------*/
88
/*----------------------------------------------------------------------*/
89
#include <sys/types.h>
108
/*----------------------------------------------------------------------*/
109
/* Missing ANSI-isms */
110
/*----------------------------------------------------------------------*/
111
#define noalias /* "noalias" keyword not accepted by SunPro C */
113
#define FILENAME_MAX 1024
116
/*----------------------------------------------------------------------*/
117
/* Aliased Logicals, Datatypes */
118
/*----------------------------------------------------------------------*/
119
/* for CodeCenter only */
125
/*----------------------------------------------------------------------*/
127
/*----------------------------------------------------------------------*/
130
#define DIRDELIMCHR '/'
131
#define DIRDELIMSTR "/"
135
#define MBYTE (1048576)
137
#define IS_BIG_ENDIAN
138
#define TEMPNAM_AVAIL
140
/*----------------------------------------------------------------------*/
141
/* For importing MS_DOS code */
142
/*----------------------------------------------------------------------*/
154
/*----------------------------------------------------------------------*/
155
/* Macros for Floating Point */
156
/*----------------------------------------------------------------------*/
157
#define EXP2(x) exp((x)*LN2)
158
#define LOG2(x) (log(x)*(1./LN2))
159
#define EXP10(x) exp((x)*LN10)
160
#define LOG10(x) log10(x)
162
/*----------------------------------------------------------------------*/
163
/* Macros Defining Limits */
164
/*----------------------------------------------------------------------*/
165
#define MAXALLOC 0x40000000 /* Largest permissible memory request */