VirtualBox

Changeset 76488 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Dec 27, 2018 3:32:09 AM (6 years ago)
Author:
vboxsync
Message:

Main/apiwrap-server.xsl: Slapped #pragma once on all generated headers in prep for GCC precompiled headers. Won't catch repeat includes of an already precompiled header otherwise, i.e. killing most of the PCH gain.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/apiwrap-server.xsl

    r76091 r76488  
    112112    <xsl:value-of select="concat('#define ', substring(@name, 2), 'Wrap_H_')"/>
    113113    <xsl:text>
     114#ifndef RT_WITHOUT_PRAGMA_ONCE
     115# pragma once
     116#endif
    114117
    115118#include "VirtualBoxBase.h"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette