diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -22,9 +22,12 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
22 | 22 | ||
23 | #include "app.h" | 23 | #include "app.h" |
24 | 24 | ||
25 | #if defined (iPlatformApple) | 25 | #if defined (iPlatformAppleDesktop) |
26 | # include "macos.h" | 26 | # include "macos.h" |
27 | #endif | 27 | #endif |
28 | #if defined (iPlatformAppleMobile) | ||
29 | # include "ios.h" | ||
30 | #endif | ||
28 | #if defined (iPlatformMsys) | 31 | #if defined (iPlatformMsys) |
29 | # include "win32.h" | 32 | # include "win32.h" |
30 | # define SDL_MAIN_HANDLED | 33 | # define SDL_MAIN_HANDLED |
@@ -41,7 +44,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
41 | int main(int argc, char **argv) { | 44 | int main(int argc, char **argv) { |
42 | printf("Lagrange: A Beautiful Gemini Client\n"); | 45 | printf("Lagrange: A Beautiful Gemini Client\n"); |
43 | signal(SIGPIPE, SIG_IGN); | 46 | signal(SIGPIPE, SIG_IGN); |
44 | #if defined (iPlatformApple) | 47 | #if defined (iPlatformAppleDesktop) |
45 | enableMomentumScroll_MacOS(); | 48 | enableMomentumScroll_MacOS(); |
46 | registerURLHandler_MacOS(); | 49 | registerURLHandler_MacOS(); |
47 | #endif | 50 | #endif |