diff options
author | unknown <konstantin@mysql.com> | 2004-12-16 12:43:02 +0300 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2004-12-16 12:43:02 +0300 |
commit | eaec00b19b0dfe26bbe4297edfea04e277af27ed (patch) | |
tree | 2aed9a98c1b9c9f82fc36e2816390bde3391d7e7 /include/my_global.h | |
parent | 7845f99abf1d36e972970c0fc9431956a8f4b63a (diff) | |
download | mariadb-git-eaec00b19b0dfe26bbe4297edfea04e277af27ed.tar.gz |
Portability fix in libmysql (FreeBSD)
include/my_global.h:
Define UINT_MAX8
libmysql/libmysql.c:
Replace defines for insteger limits with their custom MySQL versions.
Diffstat (limited to 'include/my_global.h')
-rw-r--r-- | include/my_global.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h index 3c0266d2e71..e8f93ee5d7a 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -661,6 +661,7 @@ typedef SOCKET_SIZE_TYPE size_socket; #define UINT_MAX16 0xFFFF #define INT_MIN8 (~0x7F) #define INT_MAX8 0x7F +#define UINT_MAX8 0xFF /* From limits.h instead */ #ifndef DBL_MIN |