patch.
- Substitute "defined(SCSI_EXEC_REQ_FIFO_DEFINED)" by "1" in preprocessor
statements.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1045
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
gsub("RHEL_RELEASE_CODE", RHEL_MAJOR * 256 + RHEL_MINOR, stmnt)
}
+ gsub("defined *SCSI_EXEC_REQ_FIFO_DEFINED", "1", stmnt)
+ gsub("defined *\\( *SCSI_EXEC_REQ_FIFO_DEFINED *\\)", "1", stmnt)
+
do
{
last_stmnt = stmnt
output = output && decision[i] != "+#if 0"
}
}
- if (output && (! condition || condition && matching_if !~ "^+#if [01]"))
+ if (output && (! condition || condition && matching_if !~ "^+#if [01]") \
+ && ! (evaluated ~ "^+#define SCSI_EXEC_REQ_FIFO_DEFINED$"))
{
line[lines++]=$0
}