Fix DJGPP build

This commit is contained in:
Stas Degteff 2010-03-23 09:06:37 +00:00
parent 11d0b8bb0a
commit 795bbef6e2
2 changed files with 2 additions and 6 deletions

View File

@ -59,7 +59,7 @@ extern "C" {
// ------------------------------------------------------------------
#if (defined(__BORLANDC__) && defined(__OS2__)) || defined(__UNIX__) || defined(__EMX__)
#if !defined(__DJGPP__) && ((defined(__BORLANDC__) && defined(__OS2__)) || defined(__UNIX__) || defined(__EMX__))
off_t filelength(int handle) {

View File

@ -55,10 +55,6 @@
// ------------------------------------------------------------------M
#if defined(__UNIX__)
#if !defined(__BEOS__) && !defined(__QNXNTO__)
#define O_TEXT 0
#define O_BINARY 0
#endif
#ifndef O_TEXT
#define O_TEXT 0
#endif
@ -242,7 +238,7 @@ extern "C" {
// ------------------------------------------------------------------
#if (defined(__BORLANDC__) && defined(__OS2__)) || defined(__UNIX__) || defined(__EMX__)
#if !defined(__DJGPP__) && ((defined(__BORLANDC__) && defined(__OS2__)) || defined(__UNIX__) || defined(__EMX__))
off_t filelength(int fh);
#endif