summaryrefslogtreecommitdiff
path: root/src/util.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-12-29 12:09:30 +0100
committerBardur Arantsson <bardur@scientician.net>2015-12-29 12:09:30 +0100
commit4aa1a39402c3908e9e8b6eb3fd4e2183d5e5c52e (patch)
treec1d93d415b96238aae3c54eb83cb0815af2e4bca /src/util.cc
parent729e3854b753ebc2e8c0ab28b760ca3ccc99412b (diff)
Remove MACINTOSH-compatibility code
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/util.cc b/src/util.cc
index 8971b97f..08af0658 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -363,17 +363,6 @@ errr my_fgets(FILE *fff, char *buf, huge n)
/*
-* The Macintosh is a little bit brain-dead sometimes
-*/
-#ifdef MACINTOSH
-# define open(N, F, M) \
-((M), open((char*)(N), F))
-# define write(F, B, S) \
-write(F, (char*)(B), S)
-#endif /* MACINTOSH */
-
-
-/*
* Several systems have no "O_BINARY" flag
*/
#ifndef O_BINARY