See ChangeLog entry 2002-06-24 16:00 UTC-0400 David G. Holm <dholm@jsd-llc.com>
This commit is contained in:
@@ -45,6 +45,7 @@ dirbase::
|
||||
|
||||
clean::
|
||||
-for %f in ($(ARCH_DOS)\*.*) do $(RM) %f
|
||||
-for %%f in ($(ARCH_DOS)\*.*) do $(RM) %%f
|
||||
-if exist *.bak $(RM) *.bak
|
||||
-if exist *.obj $(RM) *.obj
|
||||
-if exist core $(RM) core
|
||||
|
||||
@@ -7,6 +7,7 @@ ROOT = ../
|
||||
ifeq ($(HB_ARCHITECTURE),w32)
|
||||
|
||||
DIRS=\
|
||||
btree \
|
||||
htmllib \
|
||||
libct \
|
||||
libgt \
|
||||
@@ -17,7 +18,7 @@ DIRS=\
|
||||
|
||||
|
||||
else
|
||||
ifeq ($(HB_ARCHITECTURE),os2)
|
||||
ifeq ($(HB_COMPILER),icc)
|
||||
|
||||
DIRS=\
|
||||
hgf/os2pm \
|
||||
@@ -29,8 +30,22 @@ DIRS=\
|
||||
samples \
|
||||
|
||||
else
|
||||
ifeq ($(HB_ARCHITECTURE),os2)
|
||||
|
||||
DIRS=\
|
||||
btree \
|
||||
hgf/os2pm \
|
||||
htmllib \
|
||||
libct \
|
||||
libgt \
|
||||
libmisc \
|
||||
libnf \
|
||||
samples \
|
||||
|
||||
else
|
||||
|
||||
DIRS=\
|
||||
btree \
|
||||
htmllib \
|
||||
libct \
|
||||
libgt \
|
||||
@@ -40,5 +55,6 @@ DIRS=\
|
||||
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(ROOT)config/dir.cf
|
||||
|
||||
@@ -96,7 +96,6 @@ PRG_SOURCES= \
|
||||
miltime.prg \
|
||||
min2dhm.prg \
|
||||
month.prg \
|
||||
mouse1.prg \
|
||||
mouse2.prg \
|
||||
netpv.prg \
|
||||
nooccur.prg \
|
||||
@@ -139,6 +138,9 @@ PRG_SOURCES= \
|
||||
xbox.prg \
|
||||
year.prg \
|
||||
|
||||
BAD_PRG_SOURCES= \
|
||||
mouse1.prg \
|
||||
|
||||
LIBNAME=nf
|
||||
|
||||
include $(TOP)$(ROOT)config/lib.cf
|
||||
|
||||
@@ -35,15 +35,16 @@
|
||||
#endif // ADS_LINUX && ACE
|
||||
|
||||
|
||||
#ifdef ADS_LINUX
|
||||
#if defined(ADS_LINUX) || defined(__GNUC__)
|
||||
#pragma pack( 1 )
|
||||
#else
|
||||
#pragma pack( push, 1 )
|
||||
#endif
|
||||
|
||||
/* This forces a warning for single equals in if statements */
|
||||
#ifdef WIN32
|
||||
// 16-bit compiler doesn't seem to like this
|
||||
#if defined( WIN32 ) && !defined( ADS_LINUX )
|
||||
/* 16-bit compiler doesn't seem to like this */
|
||||
/* MingWin reports "warning: ignoring pragma: )" */
|
||||
#pragma warning( error : 4706 )
|
||||
|
||||
#define ADS_PATH_DELIMITER '\\'
|
||||
@@ -78,7 +79,7 @@
|
||||
|
||||
#if defined( ASANLM ) || defined( ADS_LINUX ) || defined( ASANT ) || defined( NLM ) || defined( ADS_NT ) || defined( ADS_WIN9X ) || defined( STAND_ALONE_EXE )
|
||||
#define ENTRYPOINT
|
||||
#elif defined( WIN32 ) && !defined( __BORLANDC__ )
|
||||
#elif defined( WIN32 ) && !defined( __BORLANDC__ ) && ! defined( __GNUC__ )
|
||||
#define ENTRYPOINT _declspec( dllexport ) WINAPI
|
||||
#else
|
||||
#define ENTRYPOINT _export WINAPI
|
||||
@@ -2264,7 +2265,7 @@ UNSIGNED32 ENTRYPOINT AdsDDDeployDatabase( UNSIGNED8 *pucDestination,
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef ADS_LINUX
|
||||
#if defined(ADS_LINUX) || defined(__GNUC__)
|
||||
#pragma pack()
|
||||
#else
|
||||
#pragma pack( pop )
|
||||
|
||||
@@ -55,6 +55,10 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbapiitm.h"
|
||||
|
||||
#ifdef PI
|
||||
/* DJGPP defines PI in math.h */
|
||||
#undef PI
|
||||
#endif
|
||||
#define PI ( 3.1415926535897932384626433 )
|
||||
|
||||
/* Ceiling( <nNumber> ) --> nInteger
|
||||
|
||||
Reference in New Issue
Block a user