]> git.sesse.net Git - vlc/commitdiff
Fix a few warnings
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 21 Oct 2006 12:28:52 +0000 (12:28 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 21 Oct 2006 12:28:52 +0000 (12:28 +0000)
include/vlc_common.h
include/vlc_config.h

index 7cbf35e13a213233158c98c338997effb1a98a2c..9e47f2ba4746a33f907881007a6f492e90887b41 100644 (file)
@@ -727,7 +727,7 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
     SetDWBE( p, ( i_qw >> 32)&0xffffffff );
 }
 
-#if WORDS_BIGENDIAN
+#ifdef WORDS_BIGENDIAN
 #   define hton16(i)   ( i )
 #   define hton32(i)   ( i )
 #   define hton64(i)   ( i )
index 5c17718f3ba50104ea2dfbd8b6b3ac0e183345f8..1a67c39d41e6087be118d6df097adfd9988bb63b 100644 (file)
@@ -45,9 +45,9 @@
 #define THREAD_COND_TIMEOUT             1
 
 /* The configuration file and directory */
-#ifdef SYS_BEOS
+#if defined (SYS_BEOS)
 #  define CONFIG_DIR                    "config/settings/VideoLAN Client"
-#elif __APPLE__
+#elif defined (__APPLE__)
 #  define CONFIG_DIR                    "Library/Preferences/VLC"
 #elif defined( WIN32 ) || defined( UNDER_CE )
 #  define CONFIG_DIR                    "vlc"