File: com-defs.h

package info (click to toggle)
links2 2.29-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 27,852 kB
  • sloc: ansic: 181,859; sh: 2,585; cpp: 1,450; makefile: 84; awk: 49; perl: 34
file content (41 lines) | stat: -rw-r--r-- 607 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef COM_DEFS_H
#define COM_DEFS_H

#ifndef __EXTENSIONS__
#define __EXTENSIONS__
#endif

#ifndef _LARGEFILE_SOURCE
#define _LARGEFILE_SOURCE	1
#endif

#ifndef _LARGEFILE
#define _LARGEFILE		1
#endif

#ifndef _ALL_SOURCE
#define _ALL_SOURCE		1
#endif

#ifndef _GNU_SOURCE
#define _GNU_SOURCE		1
#endif

#ifndef _FILE_OFFSET_BITS
#define _FILE_OFFSET_BITS	64
#endif

#if defined(vax) && !defined(__vax)
#define __vax	vax
#endif

#if defined(__VMS) && !defined(__VAX)
#define _SOCKADDR_LEN
#endif

#ifdef __DJGPP
unsigned long __ntohl(unsigned long);
unsigned short __ntohs(unsigned short);
#endif

#endif