From 2a6e7a685391f4ae465c79111583c91fb26cb5a8 Mon Sep 17 00:00:00 2001 From: Eric Petit Date: Mon, 29 Aug 2005 11:20:23 +0000 Subject: [PATCH] x264.h: issue an explicit warning when neither stdint.h nor inttypes.h has be included before x264.h git-svn-id: svn://svn.videolan.org/x264/trunk@288 df754926-b1dd-0310-bc7b-ec298dee348c --- x264.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/x264.h b/x264.h index d695ef79..d8affed9 100644 --- a/x264.h +++ b/x264.h @@ -24,6 +24,11 @@ #ifndef _X264_H #define _X264_H 1 +#if !defined(_STDINT_H) && !defined(_STDINT_H_) && \ + !defined(_INTTYPES_H) && !defined(_INTTYPES_H_) +#warning You must include stdint.h or inttypes.h before x264.h +#endif + #include #define X264_BUILD 34 -- 2.47.3