]> git.videolan.org Git - x264.git/commitdiff
VC++ fix (thx fenrir)
authorEric Petit <titer@videolan.org>
Mon, 29 Aug 2005 13:20:45 +0000 (13:20 +0000)
committerEric Petit <titer@videolan.org>
Mon, 29 Aug 2005 13:20:45 +0000 (13:20 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@289 df754926-b1dd-0310-bc7b-ec298dee348c

x264.h

diff --git a/x264.h b/x264.h
index d8affed93b9ddab04ca3fd55e110160a6a3d3919..843d09fd8bcea368ede2513128c251918a67b57f 100644 (file)
--- a/x264.h
+++ b/x264.h
 
 #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 <stdarg.h>