From 0d7f2354e56a03b150e608cec553a5670c804ff3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 21 Oct 2006 12:28:52 +0000 Subject: [PATCH] Fix a few warnings --- include/vlc_common.h | 2 +- include/vlc_config.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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" -- 2.39.5