}
#define atobool(str) ( name_was_bool = 1, x264_atobool( str, &b_error ) )
+#undef atoi
+#undef atof
#define atoi(str) x264_atoi( str, &b_error )
#define atof(str) x264_atof( str, &b_error )
fi
HAVE_GETOPT_LONG=0
;;
+ *qnx*)
+ SYS="QNX"
+ define HAVE_MALLOC_H
+ libm="-lm"
+ HAVE_GETOPT_LONG=0
+ CFLAGS="$CFLAGS -I\$(SRCPATH)/extras"
+ ;;
*)
die "Unknown system $host, edit the configure"
;;
thread="win32"
fi
;;
+ QNX)
+ cc_check pthread.h -lc && thread="posix" && libpthread="-lc"
+ ;;
*)
cc_check pthread.h -lpthread && thread="posix" && libpthread="-lpthread"
;;
#ifndef X264_X264_H
#define X264_X264_H
-#if !defined(_STDINT_H) && !defined(_STDINT_H_) && \
+#if !defined(_STDINT_H) && !defined(_STDINT_H_) && !defined(_STDINT_H_INCLUDED) &&\
!defined(_INTTYPES_H) && !defined(_INTTYPES_H_)
# ifdef _MSC_VER
# pragma message("You must include stdint.h or inttypes.h before x264.h")