Add PLATFORM_* define to config.h to allow supporting non Linux platforms.

This commit is contained in:
Bernhard Froehlich 2013-05-04 13:54:12 +02:00 committed by Adam Sutton
parent 767f824f3e
commit cae63f8a94

View file

@ -486,6 +486,11 @@ EOF
CONFIG_H="${BUILDDIR}/config.h"
cat > "${CONFIG_H}" <<EOF
// Automatically generated by configure - DO NOT EDIT!
EOF
# Create Platform defines
cat > ${CONFIG_H} <<EOF
#define PLATFORM_$(toupper ${PLATFORM}) 1
EOF
# Add package config