[Libreoffice-commits] core.git: sal/osl

Stephan Bergmann sbergman at redhat.com
Thu Feb 9 18:55:24 UTC 2017


 sal/osl/unx/backtrace.c |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

New commits:
commit 1d2c7fd407bb617c0617d8c8bceb41fa013e6fed
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Feb 9 19:54:58 2017 +0100

    -Werror,-Wunused-macros
    
    Change-Id: I06a6b6fa51fe437661610a4a678cd2d410bb1e4c

diff --git a/sal/osl/unx/backtrace.c b/sal/osl/unx/backtrace.c
index 35bea16..5936910 100644
--- a/sal/osl/unx/backtrace.c
+++ b/sal/osl/unx/backtrace.c
@@ -214,12 +214,6 @@ void backtrace_symbols_fd( void **buffer, int size, int fd )
     }
 }
 
-#elif defined LINUX
-
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
-#endif
-
 #elif defined( MACOSX )
 
 #include <dlfcn.h>
@@ -288,7 +282,7 @@ void backtrace_symbols_fd( void **buffer, int size, int fd )
     }
 }
 
-#else
+#elif !defined LINUX
 
 int backtrace( void **buffer, int max_frames )
 {


More information about the Libreoffice-commits mailing list