diff options
| author | Dan Nicolaescu | 2010-10-04 10:22:57 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-10-04 10:22:57 -0700 |
| commit | 3e6ae1a4ae2f54ad70a528ee3d4fac992b964eaa (patch) | |
| tree | 13597dfdaff9729ca7cbf0165c0c166c6a31a36c /src/fileio.c | |
| parent | 8028ed5c1cf7a67264689790a6f7160e86160486 (diff) | |
| download | emacs-3e6ae1a4ae2f54ad70a528ee3d4fac992b964eaa.tar.gz emacs-3e6ae1a4ae2f54ad70a528ee3d4fac992b964eaa.zip | |
Remove O_RDONLY, O_WRONLY definitions, not needed.
* src/unexcoff.c:
* src/lread.c:
* src/fileio.c:
* src/doc.c:
* src/callproc.c:
* src/alloc.c:
* src/termcap.c: Remove O_RDONLY O_WRONLY definitions.
Diffstat (limited to 'src/fileio.c')
| -rw-r--r-- | src/fileio.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/fileio.c b/src/fileio.c index a2daf7f15c9..36b6cc3ca8b 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -100,14 +100,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 100 | 100 | ||
| 101 | #include "commands.h" | 101 | #include "commands.h" |
| 102 | 102 | ||
| 103 | #ifndef O_WRONLY | ||
| 104 | #define O_WRONLY 1 | ||
| 105 | #endif | ||
| 106 | |||
| 107 | #ifndef O_RDONLY | ||
| 108 | #define O_RDONLY 0 | ||
| 109 | #endif | ||
| 110 | |||
| 111 | #ifndef S_ISLNK | 103 | #ifndef S_ISLNK |
| 112 | # define lstat stat | 104 | # define lstat stat |
| 113 | #endif | 105 | #endif |