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/
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make