Commit 407a7547 authored by James Almer's avatar James Almer

Merge commit '0ce3761c'

* commit '0ce3761c':
  configure: Add stdlib.h #include to CPPFLAGS check helper functions
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents bee01ee2 0ce3761c
...@@ -1040,7 +1040,7 @@ check_code(){ ...@@ -1040,7 +1040,7 @@ check_code(){
check_cppflags(){ check_cppflags(){
log check_cppflags "$@" log check_cppflags "$@"
check_cpp "$@" <<EOF && append CPPFLAGS "$@" check_cpp "$@" <<EOF && append CPPFLAGS "$@"
int x; #include <stdlib.h>
EOF EOF
} }
...@@ -1424,7 +1424,7 @@ check_host_cpp(){ ...@@ -1424,7 +1424,7 @@ check_host_cpp(){
check_host_cppflags(){ check_host_cppflags(){
log check_host_cppflags "$@" log check_host_cppflags "$@"
check_host_cpp "$@" <<EOF && append host_cppflags "$@" check_host_cpp "$@" <<EOF && append host_cppflags "$@"
int x; #include <stdlib.h>
EOF EOF
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment