]> git.sesse.net Git - vlc/commitdiff
* ./include/common.h: compilation fix for Borland C++.
authorSam Hocevar <sam@videolan.org>
Tue, 19 Mar 2002 03:42:31 +0000 (03:42 +0000)
committerSam Hocevar <sam@videolan.org>
Tue, 19 Mar 2002 03:42:31 +0000 (03:42 +0000)
include/common.h

index 05e53d58db7c26ba05988bceb67242e0c06f7943..eee9c401182b78de7b931a67cba87a5f07c23e97 100644 (file)
@@ -3,7 +3,7 @@
  * Collection of useful common types and macros definitions
  *****************************************************************************
  * Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: common.h,v 1.86 2002/03/16 01:40:58 gbazin Exp $
+ * $Id: common.h,v 1.87 2002/03/19 03:42:31 sam Exp $
  *
  * Authors: Samuel Hocevar <sam@via.ecp.fr>
  *          Vincent Seguin <seguin@via.ecp.fr>
@@ -423,6 +423,11 @@ typedef __int64 off_t;
 #       define stat _stati64
 #   endif
 
+#   if defined( __BORLAND__ )
+#       undef off_t
+#       define off_t __int64
+#   endif
+
 #   ifndef O_NONBLOCK
 #       define O_NONBLOCK 0
 #   endif