[x264-devel] Add FreeBSD's stdint.h header guard to allowed list

Anton Mitrofanov git at videolan.org
Sun Jul 26 22:26:29 CEST 2015


x264 | branch: master | Anton Mitrofanov <BugMaster at narod.ru> | Fri Jun 19 16:01:12 2015 +0300| [45856b9787eab95434d66b4bc2e18819483f0e43] | committer: Anton Mitrofanov

Add FreeBSD's stdint.h header guard to allowed list

Patch written by Koop Mast <kwm at FreeBSD.org>

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=45856b9787eab95434d66b4bc2e18819483f0e43
---

 x264.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x264.h b/x264.h
index 7cc5fcc..1749551 100644
--- a/x264.h
+++ b/x264.h
@@ -29,7 +29,7 @@
 #define X264_X264_H
 
 #if !defined(_STDINT_H) && !defined(_STDINT_H_) && !defined(_STDINT_H_INCLUDED) && !defined(_STDINT) &&\
-    !defined(_INTTYPES_H) && !defined(_INTTYPES_H_) && !defined(_INTTYPES)
+    !defined(_SYS_STDINT_H_) && !defined(_INTTYPES_H) && !defined(_INTTYPES_H_) && !defined(_INTTYPES)
 # ifdef _MSC_VER
 #  pragma message("You must include stdint.h or inttypes.h before x264.h")
 # else



More information about the x264-devel mailing list