summaryrefslogtreecommitdiff
path: root/library/Hooks-darwin.cpp
diff options
context:
space:
mode:
authorTimothy Collett2012-05-29 16:12:35 -0400
committerTimothy Collett2012-05-29 16:12:35 -0400
commit6d65683b02a7a78463d0b25e6cd56a7ae35d34cd (patch)
treefc2b1bc69b107921a4643f8d984a950bc1d9999a /library/Hooks-darwin.cpp
parent20a00f53c4a6b4f105c09be9730892e0898e71d1 (diff)
downloaddfhack-6d65683b02a7a78463d0b25e6cd56a7ae35d34cd.tar.gz
dfhack-6d65683b02a7a78463d0b25e6cd56a7ae35d34cd.tar.bz2
dfhack-6d65683b02a7a78463d0b25e6cd56a7ae35d34cd.tar.xz
Adjust packaging for Mac
Diffstat (limited to 'library/Hooks-darwin.cpp')
-rw-r--r--library/Hooks-darwin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/Hooks-darwin.cpp b/library/Hooks-darwin.cpp
index b562a6b8..347881ee 100644
--- a/library/Hooks-darwin.cpp
+++ b/library/Hooks-darwin.cpp
@@ -132,7 +132,7 @@ DFhackCExport int SDL_Init(uint32_t flags)
{
// reroute stderr
fprintf(stderr,"dfhack: attempting to hook in\n");
- //freopen("stderr.log", "w", stderr);
+ freopen("stderr.log", "w", stderr);
// we don't reroute stdout until we figure out if this should be done at all
// See: Console-linux.cpp