diff options
-rw-r--r-- | libass/ass_utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libass/ass_utils.h b/libass/ass_utils.h index 36826d3..6ae7328 100644 --- a/libass/ass_utils.h +++ b/libass/ass_utils.h @@ -32,6 +32,10 @@ #include "ass.h" +#ifndef SIZE_MAX +#define SIZE_MAX ((size_t)-1) +#endif + #define MSGL_FATAL 0 #define MSGL_ERR 1 #define MSGL_WARN 2 |