70N/A# innotek Portable Runtime - SED script for converting
VBox/err.h to .mac.
70N/A# Copyright (C) 2006-2007 Sun Microsystems, Inc.
70N/A# This file is part of VirtualBox Open Source Edition (OSE), as
70N/A# you can redistribute it
and/or modify it under the terms of the GNU
70N/A# General Public License (GPL) as published by the Free Software
70N/A# Foundation, in version 2 as it comes in the "COPYING" file of the
70N/A# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
70N/A# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
70N/A# The contents of this file may alternatively be used under the terms
70N/A# of the Common Development and Distribution License Version 1.0
70N/A# VirtualBox OSE distribution, in which case the provisions of the
70N/A# CDDL are applicable instead of those of the GPL.
70N/A# You may elect to license modified versions of this file under the
70N/A# terms and conditions of either the GPL or the CDDL or both.
70N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
70N/A# additional information or have any questions.
70N/A# Handle text inside the markers.
70N/A/SED-START/,/SED-END/{
493N/A# if (#define) goto defines
70N/A/^[[:space:]]*#[[:space:]]*define/b defines
70N/A# Everything else is deleted!
70N/A# Convert the defines
70N/As/^[[:space:]]*#[[:space:]]*define[[:space:]]*\([a-zA-Z0-9_]*\)[[:space:]]*\(.*\)[[:space:]]*$/%define \1 \2/