pike.git
/
src
/
global.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/global.h:1:
/*\ ||| This file is part of Pike. For copyright information see COPYRIGHT. ||| Pike is distributed under GPL, LGPL and MPL. See the file COPYING ||| for more information. \*/ /*
-
* $Id: global.h,v 1.
73
2002/
09
/
13
15:
35:48
mast
Exp $
+
* $Id: global.h,v 1.
74
2002/
10
/
05
17:
15:
19
grubba
Exp $
*/ #ifndef GLOBAL_H #define GLOBAL_H #if defined(__WINNT__) && !defined(__NT__) #define __NT__ #endif
-
/* The worlds most stringent C compiler? */
-
#ifdef __TenDRA__
-
/* We want to be able to use 64bit arithmetic */
-
#pragma TenDRA longlong type allow
-
#pragma TenDRA set longlong type : long long
-
-
#ifdef _NO_LONGLONG
-
#undef _NO_LONGLONG
-
#endif /* _NO_LONGLONG */
-
#endif /* __TenDRA__ */
-
+
#ifndef _LARGEFILE_SOURCE # define _FILE_OFFSET_BITS 64 # define _LARGEFILE_SOURCE # define _LARGEFILE64_SOURCE 1 #endif /* HPUX needs these too... */ #ifndef __STDC_EXT__ # define __STDC_EXT__ #endif /* !__STDC_EXT__ */
pike.git/src/global.h:39:
# define _PROTOTYPES #endif /* !_PROTOTYPES */ /* * We want to use __builtin functions. */ #ifndef __BUILTIN_VA_ARG_INCR #define __BUILTIN_VA_ARG_INCR 1 #endif /* !__BUILTIN_VA_ARG_INCR */
-
/* Get more declarations in GNU libc. */
-
#ifndef _GNU_SOURCE
-
#define _GNU_SOURCE
-
#endif
-
-
/* Get more declarations from AIX libc. */
-
#ifndef _ALL_SOURCE
-
#define _ALL_SOURCE
-
#endif
-
+
/* * Some structure forward declarations are needed. */ /* This is needed for linux */ #ifdef MALLOC_REPLACED #define NO_FIX_MALLOC #endif #ifndef STRUCT_PROGRAM_DECLARED