20000306-17:34 GMT+1 Victor Szakats <info@szelvesz.hu>

This commit is contained in:
Viktor Szakats
2000-03-06 16:31:50 +00:00
parent dcf28f8a55
commit b1e70df195
4 changed files with 26 additions and 9 deletions

View File

@@ -1,3 +1,10 @@
20000306-17:34 GMT+1 Victor Szakats <info@szelvesz.hu>
+ include/unistd.h
* doc/gmake.txt
makefile.vc
+ Dummy UNISTD.H added to the Harbour /INCLUDE directory to make it
compile with MSVC and IBM Visual Age C++ out of the box.
20000306-15:37 GMT+1 Victor Szakats <info@szelvesz.hu>
* contrib/rdd_ads/ads1.c
! FS_* macros renamed to _HB_FS_*

View File

@@ -145,8 +145,7 @@ For gcc on Win95/WinNT with the Mingw32 library:
C_USR -DHARBOUR_USE_WIN_GTAPI
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
Notes: 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
@@ -176,7 +175,6 @@ For GCC on OS/2:
-DHARBOUR_USE_SLN_GTAPI
For IBM Visual Age C++ on OS/2:
Note: You must create an empty unistd.h in the IBMCPP\INCLUDE directory.
HB_ARCHITECTURE os2
HB_COMPILER icc
C_USR -DHARBOUR_USE_OS2_GTAPI

18
harbour/include/unistd.h Normal file
View File

@@ -0,0 +1,18 @@
/*
* $Id$
*/
/* NOTE: Temporary fix to make Harbour compile with Microsoft Visual C++ (MSVC)
on Win32 and IBM Visual Age C++ on OS/2.
- This file is intentionally empty.
- This file was intentionally not added to Makefile, since the it's
not needed to build a final Harbour application.
- The file should not conflict with other platforms since the unistd.h
file is first checked in the compilers include path, and this one
will only be used when it's not found there.
[vszakats] */
/* TOFIX: This file should be removed when the MSVC/IBMVC issue is solved.
[vszakats] */

View File

@@ -13,12 +13,6 @@
# (see current one as an example)
#
#
# NOTE: In order to compile with MSVC you'll have to create an empty
# file with the name UNISTD.H in the \INCLUDE directory, until
# the issue is sorted out [vszakats].
#
#
# Directory macros. These should never have to change.
#