[x264-devel] _STDINT_H_ not defined on FreeBSD
Rafaël Carré
funman at videolan.org
Mon Jan 28 16:06:39 CET 2008
Hello,
I noticed x264.h gives me a warning, because on FreeBSD (verified on
6.1 and 7.0) stdint.h doesn't define _STDINT_H_
The real header is in /usr/include/sys/stdint.h and so defines
_SYS_STDINT_H_ , while /usr/include/stdint.h is a symbolic link to
sys/stdint.h
Attached patch only adds a check for _SYS_STDINT_H_
--- x264.h (révision 736)
+++ x264.h (copie de travail)
@@ -24,7 +24,7 @@
#ifndef _X264_H
#define _X264_H 1
-#if !defined(_STDINT_H) && !defined(_STDINT_H_) && \
+#if !defined(_STDINT_H) && !defined(_STDINT_H_)
&& !defined(_SYS_STDINT_H_) \ !defined(_INTTYPES_H)
&& !defined(_INTTYPES_H_) # ifdef _MSC_VER
# pragma message("You must include stdint.h or inttypes.h before
x264.h")
--
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/x264-devel/attachments/20080128/310a0078/attachment-0001.pgp
More information about the x264-devel
mailing list