Define 'NAME_MAX' if not done

This commit is contained in:
bossiel 2015-05-24 23:14:48 +00:00
parent e893198af7
commit 1948ff4480
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,10 @@
# define TSK_USE_NAMED_SEM 0
#endif
#if !defined(NAME_MAX)
# define NAME_MAX 255
#endif
#if TSK_UNDER_WINDOWS /* Windows XP/Vista/7/CE */
# include <windows.h>