Update to allow gnu make to work with msvc
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
19991015-23:25 EDT Paul Tucker <ptucker@sympatico.ca>
|
||||
* source/compiler/harbour.c
|
||||
+ || defined(_MSC_VER) around isatty()
|
||||
This allows gnu make to compile harbour.exe
|
||||
It doesn't seem to affect ms make
|
||||
* doc/gmake.txt
|
||||
* updated notes regarding MSVC
|
||||
|
||||
19991015-23:15 EDT David G. Holm <dholm@jsd-llc.com>
|
||||
|
||||
* include/set.h
|
||||
|
||||
@@ -143,6 +143,15 @@ For gcc on Win95/WinNT with the Mingw32 library:
|
||||
HB_COMPILER mingw32
|
||||
|
||||
For MSVC on Win95/WinNT:
|
||||
Notes: You must create an empty unistd.h in the include directory.
|
||||
gnu make is case sensitive! If your editor converts
|
||||
harbour.c to HARBOUR.C when it saves the file, then gnu make
|
||||
_will_not_work.
|
||||
If you have MAKE_MODE in your dos environment, make sure it is
|
||||
not set to unix
|
||||
|
||||
For best results, in your copy of make_tpl.bat, also set:
|
||||
C_USR=-DHARBOUR_USE_WIN_GTAPI -TP
|
||||
HB_ARCHITECTURE win32
|
||||
HB_COMPILER msvc
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ int main( int argc, char * argv[] )
|
||||
return harbour_main( argc, argv );
|
||||
}
|
||||
|
||||
#ifdef __IBMCPP__
|
||||
#if defined(__IBMCPP__) || defined(_MSC_VER)
|
||||
int isatty( int handle )
|
||||
{
|
||||
return ( handle < 4 ) ? 1 : 0;
|
||||
|
||||
Reference in New Issue
Block a user