]> git.sesse.net Git - vlc/blobdiff - include/vlc_common.h
Cosmetic
[vlc] / include / vlc_common.h
index 0c8e3c1fea42b40454eb216c04242fe57407f1ad..649553b48ff3f050bbf7ff6671694a65676ac752 100644 (file)
@@ -143,9 +143,6 @@ typedef struct date_t date_t;
 typedef struct dict_entry_t dict_entry_t;
 typedef struct dict_t dict_t;
 
-/* Messages */
-typedef struct msg_subscription_t msg_subscription_t;
-
 /* Playlist */
 
 /* FIXME */
@@ -376,18 +373,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;
@@ -502,11 +495,6 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *,      /* variable's object */
 #if defined( WIN32 ) || defined( UNDER_CE )
 #   define WIN32_LEAN_AND_MEAN
 #   include <windows.h>
-#   if defined( UNDER_CE )
-#      define IS_WINNT 0
-#   else
-#      define IS_WINNT ( GetVersion() < 0x80000000 )
-#   endif
 #endif
 
 #include "vlc_mtime.h"