Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
x264
Commits
f6e0d28a
Commit
f6e0d28a
authored
Feb 02, 2013
by
Mike Gorchak
Committed by
Fiona Glaser
Feb 25, 2013
Browse files
configure: add QNX support
parent
5e0fca86
Changes
3
Hide whitespace changes
Inline
Side-by-side
common/common.c
View file @
f6e0d28a
...
...
@@ -563,6 +563,8 @@ static double x264_atof( const char *str, int *b_error )
}
#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 )
...
...
configure
View file @
f6e0d28a
...
...
@@ -521,6 +521,13 @@ case $host_os in
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"
;;
...
...
@@ -772,6 +779,9 @@ if [ "$thread" = "auto" ]; then
thread
=
"win32"
fi
;;
QNX
)
cc_check pthread.h
-lc
&&
thread
=
"posix"
&&
libpthread
=
"-lc"
;;
*
)
cc_check pthread.h
-lpthread
&&
thread
=
"posix"
&&
libpthread
=
"-lpthread"
;;
...
...
x264.h
View file @
f6e0d28a
...
...
@@ -28,7 +28,7 @@
#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")
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment