]> git.sesse.net Git - vlc/commitdiff
Cosmetic fixes.
authorChristophe Massiot <massiot@videolan.org>
Mon, 29 Apr 2002 23:57:38 +0000 (23:57 +0000)
committerChristophe Massiot <massiot@videolan.org>
Mon, 29 Apr 2002 23:57:38 +0000 (23:57 +0000)
Makefile
include/threads_funcs.h

index 0b9a23355dc5e72585bb07a128ee5ebfd3945b41..43375d05533d41bfe39a202374b1c3fdfc6cab59 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -474,7 +474,7 @@ gnome-vlc gvlc kvlc qvlc: vlc
 vlc.app: vlc plugins
 ifneq (,$(findstring darwin,$(SYS)))
        rm -Rf vlc.app
-       cd extras/MacOSX ; pbxbuild | grep -v '^ ' | grep -v '^\t'
+       cd extras/MacOSX ; pbxbuild | grep -v '^ ' | grep -v '^\t' | grep -v "^$$"
        cp -r extras/MacOSX/build/vlc.bundle ./vlc.app
        $(INSTALL) -d vlc.app/Contents/MacOS/share
        $(INSTALL) -d vlc.app/Contents/MacOS/plugins
index eeeec14dbf5315327d1cfec348f704540744a619..35dcc13bed68d79beeb083499e27b9b97e6a888a 100644 (file)
@@ -3,7 +3,7 @@
  * This header provides a portable threads implementation.
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: threads_funcs.h,v 1.1 2002/04/27 22:11:22 gbazin Exp $
+ * $Id: threads_funcs.h,v 1.2 2002/04/29 23:57:38 massiot Exp $
  *
  * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
  *          Samuel Hocevar <sam@via.ecp.fr>
@@ -704,13 +704,8 @@ static __inline__ int _vlc_cond_destroy( char * psz_file, int i_line,
 /*****************************************************************************
  * vlc_thread_create: create a thread
  *****************************************************************************/
-#ifdef DEBUG
-#   define vlc_thread_create( P_THREAD, PSZ_NAME, FUNC, P_DATA )            \
+#define vlc_thread_create( P_THREAD, PSZ_NAME, FUNC, P_DATA )            \
         _vlc_thread_create( __FILE__, __LINE__, P_THREAD, PSZ_NAME, FUNC, P_DATA )
-#else
-#   define vlc_thread_create( P_THREAD, PSZ_NAME, FUNC, P_DATA )            \
-        _vlc_thread_create( "(unknown)", 0, P_THREAD, PSZ_NAME, FUNC, P_DATA )
-#endif
 
 static __inline__ int _vlc_thread_create( char * psz_file, int i_line,
                                           vlc_thread_t *p_thread,