diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -7,10 +7,14 @@ | |||
7 | 7 | ||
8 | #include "app.h" | 8 | #include "app.h" |
9 | 9 | ||
10 | extern void enableWheel_MacOS(void); | 10 | #if defined (iPlatformApple) |
11 | extern void enableMomentumScroll_MacOS(void); | ||
12 | #endif | ||
11 | 13 | ||
12 | int main(int argc, char **argv) { | 14 | int main(int argc, char **argv) { |
13 | enableWheel_MacOS(); | 15 | #if defined (iPlatformApple) |
16 | enableMomentumScroll_MacOS(); | ||
17 | #endif | ||
14 | #if defined (iPlatformMsys) | 18 | #if defined (iPlatformMsys) |
15 | /* MSYS runtime takes care of WinMain. */ | 19 | /* MSYS runtime takes care of WinMain. */ |
16 | SDL_SetMainReady(); | 20 | SDL_SetMainReady(); |