]> git.sesse.net Git - vlc/commitdiff
* include/vlc_common.h: why on earth was off_t not typedefed to int64 anymore under...
authorGildas Bazin <gbazin@videolan.org>
Thu, 22 Sep 2005 19:39:38 +0000 (19:39 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 22 Sep 2005 19:39:38 +0000 (19:39 +0000)
include/vlc_common.h

index 615f630d37329ead986a2fdaf1565dc36773a449..586da1a5779baea95e1cc42326f8411045c6ff17 100644 (file)
@@ -994,8 +994,8 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
 /* several type definitions */
 #   if defined( __MINGW32__ )
 #       if !defined( _OFF_T_ )
-typedef long long _off_t;
-typedef _off_t off_t;
+            typedef long long _off_t;
+            typedef _off_t off_t;
 #           define _OFF_T_
 #       else
 #           ifdef off_t
@@ -1005,17 +1005,15 @@ typedef _off_t off_t;
 #       endif
 #   endif
 
-/*
-#   if (defined( _MSC_VER ) && (!defined(__WXMSW__)))
+#   if defined( _MSC_VER ) && !defined( __WXMSW__ )
 #       if !defined( _OFF_T_DEFINED )
-typedef __int64 off_t;
+            typedef __int64 off_t;
 #           define _OFF_T_DEFINED
 #       else
+            /* for wx compatibility typedef long off_t; */
 #           define off_t __int64
-            // for wx compatibility typedef long off_t;
 #       endif
 #   endif
-*/
 
 #   if defined( __BORLANDC__ )
 #       undef off_t