Subversion Repositories Kolibri OS

Rev

Rev 6745 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6725 siemargl 1
/*
2
Kolibri OS config for gcc 5.4
3
 
4
Started by Siemargl @Nov 2016
5
*/
6
 
7
#include       /* off_t, time_t, dev_t, ... */
8
#include 
9
#include              /* lseek(), open(), setftime(), dup(), creat() */
10
#include            /* localtime() */
11
#include           /* O_BINARY for open() w/o CR/LF translation */
12
#include 
13
#include 
14
#include 
15
 
16
#define DIR_END       '/'
17
#define NO_STRNICMP
18
#define STRNICMP zstrnicmp
19
#define NO_CHMOD
20
#define NO_FCHOWN
21
 
22
#define echoff(f)
23
#define echon()
24
#define getch() getchar() /* not correct, but may not be on a console */
25
#define HAVE_WORKING_GETCH
26
 
6764 siemargl 27
#define UNICODE_SUPPORT
28
#define UTF8_MAYBE_NATIVE
29
#define NO_NL_LANGINFO
6725 siemargl 30
/*
31
#  ifdef DATE_FORMAT
32
#    undef DATE_FORMAT
33
#  endif
34
#  define DATE_FORMAT     dateformat()
35
*/
36
#define lenEOL          2
37
#define PutNativeEOL    {*q++ = native(CR); *q++ = native(LF);}
38
/*
39
#  if (!defined(NO_EF_UT_TIME) && !defined(USE_EF_UT_TIME))
40
#    define USE_EF_UT_TIME
41
#  endif
42
*/
43
 
44
/* Static variables that we have to add to Uz_Globs: */
45
#define SYSTEM_SPECIFIC_GLOBALS \
46
    int created_dir, renamed_fullpath;\
47
    char *rootpath, *buildpath, *end;\
48
    ZCONST char *wildname;\
49
    char *dirname, matchname[FILNAMSIZ];\
50
    int rootlen, have_dirname, dirnamelen, notfirstcall;\
51
    zvoid *wild_dir;