diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 516129fdc2..f594b1099f 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,17 @@ 2008-12-31 13:59 UTC+0100 Foo Bar */ +2008-08-17 09:48 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * include/hbapirdd.h + * include/hbsetup.h + + Added the most commonly used old #defines for compatibility: + - HARBOUR_MAX_RDD_DRIVERNAME_LENGTH + - HARBOUR_MAX_RDD_ALIAS_LENGTH + - OS_UNIX_COMPATIBLE + - OS_PATH_DELIMITER + Please try not to use these anymore, as they will be removed + in version 1.1. + 2008-08-17 08:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * doc/dirstruc.txt * Updated to reflect current state. [Chen Kedem] diff --git a/harbour/include/hbapirdd.h b/harbour/include/hbapirdd.h index 240b7b6dab..d09e00d5f7 100644 --- a/harbour/include/hbapirdd.h +++ b/harbour/include/hbapirdd.h @@ -66,9 +66,15 @@ HB_EXTERN_BEGIN #define HB_RDD_MAX_ALIAS_LEN 32 #endif -/* #define HARBOUR_MAX_RDD_FIELDNAME_LENGTH 32 */ +/* #define HB_MAX_RDD_FIELDNAME_LEN 32 */ #define HB_RDD_MAX_AREA_NUM 65535 +/* Some compatibility #defines. This will be removed, + please use the new names in your code. */ +#define HARBOUR_MAX_RDD_DRIVERNAME_LENGTH HB_RDD_MAX_DRIVERNAME_LEN +#define HARBOUR_MAX_RDD_ALIAS_LENGTH HB_RDD_MAX_ALIAS_LEN + + /* DBCMD errors */ #define EDBCMD_SEEK_BADPARAMETER 1001 diff --git a/harbour/include/hbsetup.h b/harbour/include/hbsetup.h index 507e3be0bf..7e007763cd 100644 --- a/harbour/include/hbsetup.h +++ b/harbour/include/hbsetup.h @@ -230,6 +230,15 @@ #define HB_ISOPTSEP( c ) ( strchr( HB_OS_OPT_DELIM_LIST, ( c ) ) != NULL ) +/* Some compatibility #defines. This will be removed, + please use the new names in your code. */ +#ifndef OS_UNIX_COMPATIBLE +#define OS_UNIX_COMPATIBLE HB_OS_UNIX_COMPATIBLE +#endif +#ifndef OS_PATH_DELIMITER +#define OS_PATH_DELIMITER HB_OS_PATH_DELIM_CHR +#endif + /* *********************************************************************** * Platform detection */