Commit 8ddb5202 authored by Eric Petit's avatar Eric Petit

vlc_common.h: define INT64_MIN/INT64_MAX if necessary

parent b58eb41e
......@@ -110,6 +110,15 @@
typedef uint8_t byte_t;
/* Systems that don't have stdint.h may not define INT64_MIN and
INT64_MAX */
#ifndef INT64_MIN
#define INT64_MIN (-9223372036854775807LL-1)
#endif
#ifndef INT64_MAX
#define INT64_MAX (9223372036854775807LL)
#endif
/* ptrdiff_t definition */
#ifdef HAVE_STDDEF_H
# include <stddef.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment