f507c057f9
PR: 178595 Submitted by: Ports Fury
21 lines
434 B
C
21 lines
434 B
C
--- app/main.c.orig
|
|
+++ app/main.c
|
|
@@ -448,7 +448,8 @@
|
|
#ifdef WIN32
|
|
|
|
#else
|
|
-# ifndef DEBUG_
|
|
+ if (use_debug_handler)
|
|
+ {
|
|
/* Handle some signals */
|
|
signal (SIGHUP, on_signal);
|
|
signal (SIGINT, on_signal);
|
|
@@ -466,7 +467,7 @@
|
|
/* Handle shmem reload */
|
|
signal( SIGUSR2, on_sig_refresh);
|
|
# endif
|
|
-# endif /* DEBUG */
|
|
+ }
|
|
#endif
|
|
/* Keep the command line arguments--for use in gimp_init */
|
|
gimp_argc = argc - 1;
|