- the #define of off_t to "long" was causing problems when compiling

textconfig.cc.  I can't quite explain why it wasn't a problem before,
  but it's certainly a problem now.  In fact VC++ does define off_t, so
  I removed the #define entirely.
This commit is contained in:
Bryce Denney 2002-11-15 18:11:40 +00:00
parent 5744c1cb90
commit 983b8f0962

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: osdep.h,v 1.12 2002-09-23 02:20:51 yakovlev Exp $
// $Id: osdep.h,v 1.13 2002-11-15 18:11:40 bdenney Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -59,9 +59,6 @@ extern "C" {
# define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
# define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
// VCPP includes also are missing these
# define off_t long
// win32 has snprintf though with different name.
#define snprintf _snprintf
#endif /* ifnndef __MINGW32__ */