diff options
author | ram@gw.mysql.r18.ru <> | 2005-01-26 17:09:38 +0400 |
---|---|---|
committer | ram@gw.mysql.r18.ru <> | 2005-01-26 17:09:38 +0400 |
commit | 7f6fca4cf0feef2fc9645751156adac4a056063c (patch) | |
tree | 9889a5bf821b1cc5f541f23b629d511b89609759 /include | |
parent | 1a331191a3b6687266d30139783ed00ac09bc9d4 (diff) | |
parent | 5432e8a3d70a6ae3f52464af499756c3b97ae404 (diff) | |
download | mariadb-git-7f6fca4cf0feef2fc9645751156adac4a056063c.tar.gz |
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1
into gw.mysql.r18.ru:/usr/home/ram/work/4.1
Diffstat (limited to 'include')
-rw-r--r-- | include/my_global.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h index f54a18649c5..3263d079853 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -530,7 +530,11 @@ typedef SOCKET_SIZE_TYPE size_socket; #define FN_LEN 256 /* Max file name len */ #define FN_HEADLEN 253 /* Max length of filepart of file name */ #define FN_EXTLEN 20 /* Max length of extension (part of FN_LEN) */ +#ifdef PATH_MAX +#define FN_REFLEN PATH_MAX/* Max length of full path-name */ +#else #define FN_REFLEN 512 /* Max length of full path-name */ +#endif #define FN_EXTCHAR '.' #define FN_HOMELIB '~' /* ~/ is used as abbrev for home dir */ #define FN_CURLIB '.' /* ./ is used as abbrev for current dir */ |