diff options
| author | Timothy Collett | 2012-05-29 14:44:37 -0400 |
|---|---|---|
| committer | Timothy Collett | 2012-05-29 14:44:37 -0400 |
| commit | 20a00f53c4a6b4f105c09be9730892e0898e71d1 (patch) | |
| tree | 9110aefe1bb20fd7db867fc079401c3ac60f6279 /library/Hooks-darwin.cpp | |
| parent | 7ec0fd6fc02815d6093cdff97599226045657053 (diff) | |
| download | dfhack-20a00f53c4a6b4f105c09be9730892e0898e71d1.tar.gz dfhack-20a00f53c4a6b4f105c09be9730892e0898e71d1.tar.bz2 dfhack-20a00f53c4a6b4f105c09be9730892e0898e71d1.tar.xz | |
When built with the right compiler, we don't need any Obj-C code.
Diffstat (limited to 'library/Hooks-darwin.cpp')
| -rw-r--r-- | library/Hooks-darwin.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/library/Hooks-darwin.cpp b/library/Hooks-darwin.cpp index 19f30f19..b562a6b8 100644 --- a/library/Hooks-darwin.cpp +++ b/library/Hooks-darwin.cpp @@ -58,9 +58,6 @@ distribution. };*/ -extern "C" int create_pool(); -extern "C" int destroy_pool(); - /******************************************************************************* * SDL part starts here * *******************************************************************************/ @@ -82,8 +79,6 @@ DFhackCExport void SDL_Quit(void) _SDL_Quit(); }*/ - destroy_pool(); - _SDL_Quit(); } @@ -140,8 +135,6 @@ DFhackCExport int SDL_Init(uint32_t flags) //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 - - create_pool(); // find real functions fprintf(stderr,"dfhack: saving real SDL functions\n"); @@ -163,7 +156,7 @@ DFhackCExport int SDL_Init(uint32_t flags) } DFHack::Core & c = DFHack::Core::getInstance(); - c.Init(); + //c.Init(); int ret = _SDL_Init(flags); return ret; |
