billiob pushed a commit to branch enlightenment-0.17.

commit 643f6fa6ff75a5f336402cd9df9eb9797bdd2eef
Author: Boris Faure <[email protected]>
Date:   Sat Aug 24 15:52:27 2013 +0200

    improve e on debian kfreebsd (Patch by Petr Salinger)
    
    Closes task 302.
---
 src/bin/e_start_main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_start_main.c b/src/bin/e_start_main.c
index 7ce1415..0afa0e0 100644
--- a/src/bin/e_start_main.c
+++ b/src/bin/e_start_main.c
@@ -245,7 +245,7 @@ main(int argc, char **argv)
    Eina_Bool really_know = EINA_FALSE;
    struct sigaction action;
 #if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && \
-   !(defined (__MACH__) && defined (__APPLE__))
+   !defined(__FreeBSD_kernel__) && !(defined (__MACH__) && defined (__APPLE__))
    Eina_Bool restart = EINA_TRUE;
 #endif
 
@@ -408,14 +408,14 @@ main(int argc, char **argv)
      really_know = EINA_TRUE;
 
 #if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || \
-   (defined (__MACH__) && defined (__APPLE__))
+   defined(__FreeBSD_kernel__) || (defined (__MACH__) && defined (__APPLE__))
    execv(args[0], args);
 #endif
 
    /* not run at the moment !! */
 
 #if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && \
-   !(defined (__MACH__) && defined (__APPLE__))
+   !defined(__FreeBSD_kernel__) && !(defined (__MACH__) && defined (__APPLE__))
    /* Now looping until */
    while (restart)
      {

-- 

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk

Reply via email to