mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-13 06:29:11 +00:00
Get Fat Emacs working in Windows Console
This commit is contained in:
parent
bf835de612
commit
7100b1cf91
34 changed files with 479 additions and 168 deletions
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon at,AT_EMPTY_PATH,0x1000,0x1000,0,0,0,0,0,0
|
||||
.syscon at,AT_EMPTY_PATH,0x1000,0x1000,0,0,0,0,0,0x1000
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon at,AT_SYMLINK_FOLLOW,0x0400,0x0400,0x40,0x40,0x0400,4,0x400,0
|
||||
.syscon at,AT_SYMLINK_FOLLOW,0x0400,0x0400,0x40,0x40,0x0400,4,0x400,0x0400
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon access,X_OK,1,1,1,1,1,1,1,0xa0000000
|
||||
.syscon access,X_OK,1,1,1,1,1,1,1,0x20000000
|
||||
|
|
|
@ -1,18 +1,17 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_OK_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_OK_H_
|
||||
|
||||
#define F_OK F_OK
|
||||
#define R_OK R_OK
|
||||
#define W_OK W_OK
|
||||
#define F_OK 0
|
||||
#define X_OK X_OK
|
||||
#define W_OK W_OK
|
||||
#define R_OK R_OK
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
extern const int F_OK;
|
||||
extern const int R_OK;
|
||||
extern const int W_OK;
|
||||
extern const int X_OK;
|
||||
extern const unsigned X_OK;
|
||||
extern const unsigned W_OK;
|
||||
extern const unsigned R_OK; /* warning: is sign bit on windows */
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue