File: pexos.h

package info (click to toggle)
vnc4 4.1.1%2BX4.3.0-31
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 171,548 kB
  • ctags: 288,231
  • sloc: ansic: 2,205,256; cpp: 56,016; sh: 38,092; pascal: 13,773; asm: 12,656; tcl: 9,182; lisp: 7,831; perl: 3,338; makefile: 2,957; yacc: 2,902; objc: 2,698; xml: 2,614; python: 2,383; lex: 1,477; awk: 901; csh: 58; sed: 50
file content (56 lines) | stat: -rw-r--r-- 934 bytes parent folder | download | duplicates (6)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/* $XFree86: xc/programs/Xserver/PEX5/include/pexos.h,v 1.3 2001/07/25 15:04:59 dawes Exp $ */

/*
 * This file contains all external OS/ANSI header includes, prototypes and
 * definitions.
 */

#ifndef _PEXOS_H_
#define _PEXOS_H_

#ifndef XFree86LOADER
#include <string.h>
#include <math.h>
#include <stdio.h>

#ifdef NEED_OS_LIMITS
#ifndef X_NOT_POSIX
#ifdef _POSIX_SOURCE
#include <limits.h>
#else
#define _POSIX_SOURCE
#include <limits.h>
#undef _POSIX_SOURCE
#endif
#endif /* X_NOT_POSIX */
#ifndef PATH_MAX
#ifdef WIN32
#define PATH_MAX 512
#else
#include <sys/param.h>
#endif
#ifndef PATH_MAX
#ifdef MAXPATHLEN  
#define PATH_MAX MAXPATHLEN
#else
#define PATH_MAX 1024
#endif
#endif
#endif /* PATH_MAX */
#endif /* NEED_OS_LIMITS */

#ifdef NEED_GETENV

#include <X11/Xos.h>
#include <stdlib.h> 
#endif /* NEED_GETENV */

#ifndef SEEK_SET
#define SEEK_SET 0
#endif

#else
#include "xf86_ansic.h"
#endif

#endif /* _PEXOS_H_ */