~ubuntu-branches/ubuntu/maverick/ncbi-tools6/maverick

« back to all changes in this revision

Viewing changes to corelib/ncbilcl.lnx

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-03-27 12:00:15 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050327120015-embhesp32nj73p9r
Tags: 6.1.20041020-3
* Fix FTBFS under GCC 4.0 caused by inconsistent use of "static" on
  functions.  (Closes: #295110.)
* Add a watch file, now that we can.  (Upstream's layout needs version=3.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
*
30
30
* Version Creation Date:   8/1/94
31
31
*
32
 
* $Revision: 6.4 $
 
32
* $Revision: 6.9 $
33
33
*
34
34
* File Description:
35
35
*               system dependent header
38
38
* Modifications:
39
39
* --------------------------------------------------------------------------
40
40
* $Log: ncbilcl.lnx,v $
 
41
* Revision 6.9  2004/01/21 22:31:20  ucko
 
42
* Define PROC_X86_64 on x86-64 systems.
 
43
*
 
44
* Revision 6.8  2002/11/22 20:05:04  lavr
 
45
* Configure HAVE_STRDUP and HAVE_STRCASECMP
 
46
*
 
47
* Revision 6.7  2002/11/06 21:23:47  ucko
 
48
* Handle non-i386 platforms.
 
49
* Enable large file support here, to ensure consistency.
 
50
*
 
51
* Revision 6.6  2002/07/11 22:13:06  vakatov
 
52
* #define MMAP_AVAIL
 
53
*
 
54
* Revision 6.5  2002/07/11 19:26:31  ivanov
 
55
* Added macro HAVE_MADVISE
 
56
*
41
57
* Revision 6.4  2000/06/15 16:47:13  beloslyu
42
58
* fixes for new RedHat6.2
43
59
*
87
103
#define PROC_SH /* ? */
88
104
#elif defined(__sparc__) || #cpu(sparc) || #cpu(sparc64) || #machine(sparc) || #machine(sparc64)
89
105
#define PROC_SPARC
 
106
#elif defined(__x86_64__) || #cpu(x86_64)
 
107
#define PROC_X86_64
90
108
#else
91
109
#warning Unknown processor type.  Please define something appropriate.
92
110
#endif
96
114
/*      Desired or available feature list                               */
97
115
/*----------------------------------------------------------------------*/
98
116
#define SYSV_IPC_AVAIL  /* System V Interprocess Communication available */
 
117
#define MMAP_AVAIL
99
118
#undef _POSIX_SOURCE
100
119
#undef _POSIX_C_SOURCE
101
120
#undef _XOPEN_SOURCE
102
121
#define _POSIX_SOURCE   1
103
122
#define _POSIX_C_SOURCE 199309L
104
123
#define _XOPEN_SOURCE   500
 
124
#define HAVE_STRCASECMP 1
 
125
#define HAVE_STRDUP 1
105
126
 
106
127
/* Only effective on glibc 2.1 and newer. */
107
128
#define _LARGEFILE_SOURCE 1
108
129
#define _LARGEFILE64_SOURCE 1
109
 
#if 0 /* Breaks interoperability with some libraries. */
110
 
#define _FILE_OFFSET_BITS 64
111
 
#endif
 
130
#define _FILE_OFFSET_BITS 64 /* Should be safe, I think... */
112
131
 
113
132
#ifndef _REENTRANT
114
133
#define _REENTRANT
117
136
/* good for the EGCS C/C++ compiler on Linux(e.g. putenv(), tempnam() proto) */
118
137
#define _SVID_SOURCE 1
119
138
 
120
 
 
121
139
/*----------------------------------------------------------------------*/
122
140
/*      #includes                                                       */
123
141
/*----------------------------------------------------------------------*/
179
197
#define IS_BIG_ENDIAN
180
198
#endif
181
199
#define TEMPNAM_AVAIL
 
200
#define HAVE_MADVISE
182
201
 
183
202
/*----------------------------------------------------------------------*/
184
203
/*      For importing MS_DOS code                                       */