aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorJason Rumney2000-03-01 20:55:11 +0000
committerJason Rumney2000-03-01 20:55:11 +0000
commite15b6288db4a9f9f3144224bb4d1ef2f341ae0cd (patch)
treedb08d4363167f6c8ac28ba843f426cb29bda6842 /src/sysdep.c
parent37ad8b63556957c9ce2579096c1970f25d04f0bb (diff)
downloademacs-e15b6288db4a9f9f3144224bb4d1ef2f341ae0cd.tar.gz
emacs-e15b6288db4a9f9f3144224bb4d1ef2f341ae0cd.zip
[WINDOWSNT]: Use sys_read and sys_write to ensure correct line-ending
convention is followed.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index e7ccd6dfd6b..5db1403c539 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -48,8 +48,8 @@ Lisp_Object Vx_bitmap_file_path;
48#define min(x,y) ((x) > (y) ? (y) : (x)) 48#define min(x,y) ((x) > (y) ? (y) : (x))
49 49
50#ifdef WINDOWSNT 50#ifdef WINDOWSNT
51#define read _read 51#define read sys_read
52#define write _write 52#define write sys_write
53#include <windows.h> 53#include <windows.h>
54extern int errno; 54extern int errno;
55#endif /* not WINDOWSNT */ 55#endif /* not WINDOWSNT */