Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4973 right-hear 1
/* Copyright (C) 1997 DJ Delorie, see COPYING.DJ for details */
2
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
3
#ifndef __dj_include_libc_stubs_h__
4
#define __dj_include_libc_stubs_h__
5
 
6
#ifdef __cplusplus
7
extern "C" {
8
#endif
9
 
10
#ifndef __dj_ENFORCE_ANSI_FREESTANDING
11
 
12
#ifndef __STRICT_ANSI__
13
 
14
#ifndef _POSIX_SOURCE
15
 
16
/* POSIX functions (for when compiling an ANSI function) */
17
 
18
/* DJGPP functions (for compiling POSIX or ANSI functions) */
19
#define crlf2nl __crlf2nl
20
#define dosmemget __dosmemget
21
#define dosmemput __dosmemput
22
#define filelength __filelength
23
#define findfirst __findfirst
24
#define findnext __findnext
25
#define fsync __fsync
26
#define getdisk __getdisk
27
#define getdtablesize __getdtablesize
28
#define getitimer __getitimer
29
#define modfl __modfl
30
#define movedata __movedata
31
#define pow10 __pow10
32
#define pow2 __pow2
33
#define putenv __putenv
34
#define sbrk __sbrk
35
#define setitimer __setitimer
36
#define setmode __setmode
37
#define spawnve __spawnve
38
#define spawnvpe __spawnvpe
39
#define stricmp __stricmp
40
#define sync __sync
41
 
42
#endif /* !_POSIX_SOURCE */
43
#endif /* !__STRICT_ANSI__ */
44
#endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
45
 
46
#ifndef __dj_ENFORCE_FUNCTION_CALLS
47
#endif /* !__dj_ENFORCE_FUNCTION_CALLS */
48
 
49
#ifdef __cplusplus
50
}
51
#endif
52
 
53
#endif /* __dj_include_libc_stubs_h__ */