[x264-devel] [PATCH] QNX support in x264

Mike Gorchak mike.gorchak.qnx at gmail.com
Sun Feb 3 08:23:55 CET 2013


Hi Jason!

> >+    !defined(_STDINT_H_INCLUDED) && \
> Should we add the similar INTTYPES define for consistency here?

QNX has no corresponding INTTYPES macro, only STDINT.

> >+        CFLAGS="$CFLAGS -I\$(SRCPATH)/extras"
> Why is this needed here, but not on the other systems that don't have
> getopt?

I've found two places in the confgure script where "extras" path is
added, one is for mingw/cygwin platform with Intel C Compiler and one
is for just Intel C Compiler. So I do not know where is the right
place for this additional path. So I added additional path right after
"HAVE_GETOPT_LONG 0" definition.

> >+#ifdef __QNXNTO__
> >+#undef atof
> >+#endif /* __QNXNTO__ */
>
> Undeffing atoi/atof unconditionally should be fine here, I'd imagine.
> I've actually already worked on a system that needed this to shut up
> warnings, so I highly approve of this.

I agree.

Thanks!


More information about the x264-devel mailing list