bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #13478] Missing include header for Microsoft, intel and Borland com


From: Jerker Bäck
Subject: [bug #13478] Missing include header for Microsoft, intel and Borland compiler
Date: Sun, 30 Apr 2006 16:14:05 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)

Follow-up Comment #5, bug #13478 (project make):

Paul, can we close this?
You added the direct.h which is fine. The issues with local CRT prototypes is
entirely up to you. If they interfer with a compiler it is easy just to
comment them out.

NOTE:
I would like to change the line which include direct.h to also support
Interix. Like this:

make.h(358) /* This is needed for getcwd() and chdir().  */
make.h(359) #if defined(_MSC_VER) || defined(__BORLANDC__)
make.h(360) # include <direct.h>
make.h(361) #endif

change to:
make.h(358) /* This is needed for getcwd() and chdir().  */
make.h(359) #if (defined(_MSC_VER) || defined(__BORLANDC__)) &&
!defined(__INTERIX)
make.h(360) # include <direct.h>
make.h(361) #endif

Tested with MS compiler and Interix gcc - works fine.

The Interix SDK which is based on FreeBSD libc, do not have direct.h but is
using the MS compiler. The proper conditional for Interix is __INTERIX
(always defined for a interix build regardless of compiler used).

Thanks jerker

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13478>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]