billiob pushed a commit to branch master.

commit 91668e6e8a9b807089d7afb02da3225b2b3176dc
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 5ce220f..55a286d 100644
--- a/src/bin/e_start_main.c
+++ b/src/bin/e_start_main.c
@@ -251,7 +251,7 @@ main(int argc, char **argv)
    pid_t cs_child = -1;
 #endif
 #if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && \
-   !(defined (__MACH__) && defined (__APPLE__))
+   !defined(__FreeBSD_kernel__) && !(defined (__MACH__) && defined (__APPLE__))
    Eina_Bool restart = EINA_TRUE;
 #endif
 
@@ -416,14 +416,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