Hi All,

please do the following changes for compile with Borland C++ on c-client:

Borland C++ has his utime.h not in the include/sys directory.

Please change the Makefile of VC++ or change the line

#include <sys/utime.h> to the following:

#ifdef __BORLANDC__
#include <utime.h>
#else
#include <sys/utime.h>
#endif // BORLANDC

these are in the following files:

        mbxnt.c
        mtxnt.c
        tenexnt.c
        unixnt.c



The Borland compiler didn't have the struct _fsize_t. Please create an
header file that defines the _finddata_t as following:

#ifdef __BORLANDC__ 
  #include <time.h>
  
  typedef unsigned long _fsize_t;
  struct _finddata_t {
    unsigned attrib;
    time_t time_create; 
    time_t time_access; 
    time_t time_write;
    _fsize_t size;
    char name[260];
 }; 
#endif // BORLANDC 

the header file must include in:

        dummynt.c
        mhnt.c
        newsnt.c
        os_nt.c
        mhnt.h
        newsnt.h
        os_nt.h


Please insert the following lines in env_nt.c:

#ifdef __BORLANDC__
  #define tzname _tzname
  #define daylight _daylight
#endif // BORLANDC  

I know it's many to change. But we need it, if we will compile it with
Borland C++.

Tanks!

Tschau (By)



Marcus





_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to