summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 5e4e7284..49487bbf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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. */
41int main(int argc, char **argv) { 44int 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