Author: al
Date: 2010-04-01 15:42:33 +0200 (Thu, 01 Apr 2010)
New Revision: 3287

Modified:
   trunk/src/application.c
Log:
execinfo.h signal.h and ucontext.h is not included in MinGW. Some other way of 
printing stacktrace when crashing in windows should be found. 

Modified: trunk/src/application.c
===================================================================
--- trunk/src/application.c     2010-04-01 13:05:25 UTC (rev 3286)
+++ trunk/src/application.c     2010-04-01 13:42:33 UTC (rev 3287)
@@ -28,7 +28,7 @@
 #ifndef WIN32
 #include <gconf/gconf-client.h>
 #endif
-#if defined(__GNUC__) && (defined (__x86_64__) || defined (__i386__))
+#if defined(__GNUC__) && (defined (__x86_64__) || defined (__i386__)) && 
!defined(__MINGW32__)
 #include <execinfo.h>
 #include <signal.h>
 #define __USE_GNU
@@ -605,7 +605,7 @@
        g_static_rec_mutex_unlock (&gdk_lock);
 }
 
-#if defined(__GNUC__) && (defined (__x86_64__) || defined (__i386__))
+#if defined(__GNUC__) && (defined (__x86_64__) || defined (__i386__)) && 
!defined(__MINGW32__)
 
 #if defined (__x86_64__)
 #define PROG_COUNTER_REG REG_RIP
@@ -708,7 +708,7 @@
        gboolean do_test = FALSE;
        int opt;
        gboolean use_system_theme = DEFAULT_CONF_USE_SYSTEM_THEME;
-#if defined(__GNUC__) && (defined (__x86_64__) || defined (__i386__))
+#if defined(__GNUC__) && (defined (__x86_64__) || defined (__i386__)) && 
!defined(__MINGW32__)
        struct sigaction sa;
        memset(&sa, 0, sizeof(sigaction));
        sigemptyset(&sa.sa_mask);


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to