diff options
author | bar@mysql.com/bar.myoffice.izhnet.ru <> | 2007-05-30 16:02:54 +0500 |
---|---|---|
committer | bar@mysql.com/bar.myoffice.izhnet.ru <> | 2007-05-30 16:02:54 +0500 |
commit | f6e5cfd85c6ab611e7e53a1d27d8ed076579fb6f (patch) | |
tree | a1f360ccd7ec9aae78e328553dc89042a94f9f9f /include/config-win.h | |
parent | ad8e43155b9b9daf92156a13ddbafce31901b932 (diff) | |
download | mariadb-git-f6e5cfd85c6ab611e7e53a1d27d8ed076579fb6f.tar.gz |
Define HAVE_STRNLEN correctly.
Diffstat (limited to 'include/config-win.h')
-rw-r--r-- | include/config-win.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config-win.h b/include/config-win.h index 8d6f8885626..6622be81038 100644 --- a/include/config-win.h +++ b/include/config-win.h @@ -350,7 +350,10 @@ inline double ulonglong2double(ulonglong value) #define SPRINTF_RETURNS_INT #define HAVE_SETFILEPOINTER #define HAVE_VIO_READ_BUFF +#if defined(_MSC_VER) && _MSC_VER >= 1400 +/* strnlen() appeared in Studio 2005 */ #define HAVE_STRNLEN +#endif #define HAVE_WINSOCK2 #define strcasecmp stricmp |