2012-12-01 12:17 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
+ automatically define HBMK_HAS_<packagename> macro
if a given package is linked or loaded when running
as script. F.e. HBMK_HAS_HBGD. The macro will have
the value zero if there is no version information
about the package and it will be 0x010203 if there
is, via .hbc version=x[.y[.z]] directive.
* extras/httpsrv/modules/showcounter.prg
* extras/httpsrv/modulesg.hbp
* extras/httpsrv/uhttpd.prg
* extras/httpsrv/uhttpdgd.hbp
+ use HBMK_HAS_* macro instead of manually rolled solution
This commit is contained in:
@@ -94,7 +94,7 @@ REQUEST __HB_EXTERN__
|
||||
|
||||
#include "hbsocket.ch"
|
||||
|
||||
#ifdef GD_SUPPORT
|
||||
#if defined( HBMK_HAS_HBGD )
|
||||
// adding GD support
|
||||
REQUEST GDIMAGE, GDIMAGECHAR, GDCHART
|
||||
# define APP_GD_SUPPORT "_GD"
|
||||
|
||||
Reference in New Issue
Block a user