Preprocessor error for unknown targets and include for TargetConditionals.h
This commit is contained in:
parent
11857a8da6
commit
9a9119669b
|
@ -536,7 +536,9 @@ if [ ${#OPENSSLCONF_ALL[@]} -gt 1 ]; then
|
||||||
echo "# include <openssl/${OPENSSLCONF_CURRENT}>" >> "${OPENSSLCONF_INTERMEDIATE}"
|
echo "# include <openssl/${OPENSSLCONF_CURRENT}>" >> "${OPENSSLCONF_INTERMEDIATE}"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Finish with #endif
|
# Finish
|
||||||
|
echo "#else" >> "${OPENSSLCONF_INTERMEDIATE}"
|
||||||
|
echo '# error Unable to determine target or target not included in OpenSSL build' >> "${OPENSSLCONF_INTERMEDIATE}"
|
||||||
echo "#endif" >> "${OPENSSLCONF_INTERMEDIATE}"
|
echo "#endif" >> "${OPENSSLCONF_INTERMEDIATE}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -6,3 +6,5 @@
|
||||||
* See also https://github.com/x2on/OpenSSL-for-iPhone/issues/126 and referenced pull requests
|
* See also https://github.com/x2on/OpenSSL-for-iPhone/issues/126 and referenced pull requests
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <TargetConditionals.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue