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.
This commit is contained in:
Viktor Szakats
2008-08-17 07:48:39 +00:00
parent 3a41ed1d2b
commit 01630ab48c
3 changed files with 27 additions and 1 deletions

View File

@@ -8,6 +8,17 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
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]

View File

@@ -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

View File

@@ -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
*/