Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/engines/common


Modified Files:
        evas_cpu.c 


Log Message:
mingw portability
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_cpu.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- evas_cpu.c  19 Apr 2004 01:27:37 -0000      1.19
+++ evas_cpu.c  20 Oct 2004 16:36:12 -0000      1.20
@@ -6,9 +6,13 @@
 
 #include <setjmp.h>
 
+#ifndef WIN32
 static sigjmp_buf detect_buf;
+#endif
+
 static int cpu_feature_mask = 0;
 
+#ifndef WIN32
 static void evas_common_cpu_catch_ill(int sig);
 
 static void
@@ -16,6 +20,7 @@
 {
    siglongjmp(detect_buf, 1);
 }
+#endif
 
 #if ( \
         defined __i386__ || \
@@ -76,6 +81,7 @@
 int
 evas_common_cpu_feature_test(void (*feature)(void))
 {
+#ifndef WIN32
    int enabled = 1;
    struct sigaction act, oact;
 
@@ -91,6 +97,9 @@
    feature();
    sigaction(SIGILL, &oact, NULL);
    return enabled;
+#else
+   return 0;
+#endif
 }
 
 void




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to