From 2e5b0b93384f8d48e32b26beb6badb8a3236c29b Mon Sep 17 00:00:00 2001 From: Eric Petit Date: Mon, 29 Aug 2005 13:20:45 +0000 Subject: [PATCH] VC++ fix (thx fenrir) git-svn-id: svn://svn.videolan.org/x264/trunk@289 df754926-b1dd-0310-bc7b-ec298dee348c --- x264.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/x264.h b/x264.h index d8affed9..843d09fd 100644 --- a/x264.h +++ b/x264.h @@ -26,7 +26,11 @@ #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 +# ifdef _MSC_VER +# pragma message("You must include stdint.h or inttypes.h before x264.h") +# else +# warning You must include stdint.h or inttypes.h before x264.h +# endif #endif #include -- 2.47.3