Commit 19947284 authored by Sam Hocevar's avatar Sam Hocevar

  * ./include/common.h: compilation fix for Borland C++.
parent 5dcebef9
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* Collection of useful common types and macros definitions * Collection of useful common types and macros definitions
***************************************************************************** *****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN * 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> * Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr> * Vincent Seguin <seguin@via.ecp.fr>
...@@ -423,6 +423,11 @@ typedef __int64 off_t; ...@@ -423,6 +423,11 @@ typedef __int64 off_t;
# define stat _stati64 # define stat _stati64
# endif # endif
# if defined( __BORLAND__ )
# undef off_t
# define off_t __int64
# endif
# ifndef O_NONBLOCK # ifndef O_NONBLOCK
# define O_NONBLOCK 0 # define O_NONBLOCK 0
# endif # endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment