Add PLATFORM_* define to config.h to allow supporting non Linux platforms.
This commit is contained in:
parent
767f824f3e
commit
cae63f8a94
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue