aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysstdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysstdio.h')
-rw-r--r--src/sysstdio.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/sysstdio.h b/src/sysstdio.h
index e9dfb696059..c97c4f883fc 100644
--- a/src/sysstdio.h
+++ b/src/sysstdio.h
@@ -1,2 +1,31 @@
1/* Standard I/O for Emacs.
2
3Copyright 2013-2015 Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19
20#include <fcntl.h>
1#include <stdio.h> 21#include <stdio.h>
22
2extern FILE *emacs_fopen (char const *, char const *); 23extern FILE *emacs_fopen (char const *, char const *);
24
25#if O_BINARY
26# define FOPEN_BINARY "b"
27# define FOPEN_TEXT "t"
28#else
29# define FOPEN_BINARY ""
30# define FOPEN_TEXT ""
31#endif