From: RĂ©mi Denis-Courmont Date: Sat, 21 Oct 2006 12:28:52 +0000 (+0000) Subject: Fix a few warnings X-Git-Tag: 0.9.0-test0~9863 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=0d7f2354e56a03b150e608cec553a5670c804ff3;p=vlc Fix a few warnings --- diff --git a/include/vlc_common.h b/include/vlc_common.h index 7cbf35e13a..9e47f2ba47 100644 --- a/include/vlc_common.h +++ b/include/vlc_common.h @@ -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 ) diff --git a/include/vlc_config.h b/include/vlc_config.h index 5c17718f3b..1a67c39d41 100644 --- a/include/vlc_config.h +++ b/include/vlc_config.h @@ -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"