# Add the copy write header and the comments to the front of the file
1i\
// (c) 2006 Criterion Software Limited and its licensors. All Rights Reserved \
 \
// This header file is auto generated by src/scripts/undef.bat \
\
// undefine macros that are private to the math library and \
// should not be used by client code.

# Renamed '#define' to '#undef'
s/#define/#undef/

# Strip off everything after the opening parenthesis
s/(.*//

# Remove leading whitespace
s/^[ \t]*//

$a\
// end of undefines \

