]> git.sesse.net Git - vlc/blobdiff - include/vlc_common.h
WinCE: cleaning my header inclusion mess
[vlc] / include / vlc_common.h
index b52c80fc81f75b6658c1592eaf1b4f4224b249af..d409082f7dd3943b6c3f60071d23806891325c8b 100644 (file)
@@ -376,18 +376,14 @@ typedef struct meta_engine_t meta_engine_t;
 
 /* stat/lstat/fstat */
 #ifdef WIN32
-# ifdef UNDER_CE
-# undef _STAT_DEFINED
-# endif
 #include <sys/stat.h>
+
 # ifndef UNDER_CE
 struct _stati64;
 #define stat _stati64
 #define fstat _fstati64
-# else
-# define stat _stat
-# define fstat _fstat
-# endif
+#endif
+
 /* You should otherwise use utf8_stat and utf8_lstat. */
 #else
 struct stat;
@@ -522,7 +518,6 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *,      /* variable's object */
  * these members are common for all vlc objects                             \
  */                                                                         \
 /**@{*/                                                                     \
-    int   i_object_id;                                                      \
     int   i_object_type;                                                    \
     const char *psz_object_type;                                            \
     char *psz_object_name;                                                  \
@@ -534,7 +529,7 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *,      /* variable's object */
     /* Object properties */                                                 \
     volatile bool b_error;                  /**< set by the object */ \
     volatile bool b_die;                   /**< set by the outside */ \
-    bool b_force;      /**< set by the outside (eg. module_Need()) */ \
+    bool b_force;      /**< set by the outside (eg. module_need()) */ \
                                                                             \
     /** Just a reminder so that people don't cast garbage */                \
     bool be_sure_to_add_VLC_COMMON_MEMBERS_to_struct;                       \