VirtualBox

Changeset 24300 in vbox


Ignore:
Timestamp:
Nov 3, 2009 7:22:34 PM (15 years ago)
Author:
vboxsync
Message:

/Makefile.kmk: added some essential macro definitions that was missing from the vslick.h header (SlickEdit).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.kmk

    r23661 r24300  
    907907        @$(APPEND) $@.tmp '#define DEFINE_EMPTY_CTOR_DTOR(a)       a::a() {}   a::~a() {}'
    908908        @$(APPEND) $@.tmp '#define NS_DECL_ISUPPORTS '
    909         @$(APPEND) $@.tmp '#define NS_IMETHOD                      NS_IMETHOD_(nsresult) '
    910         @$(APPEND) $@.tmp '#define NS_IMETHOD_(type)               type '
     909        @$(APPEND) $@.tmp '#define NS_IMETHOD                      virtual nsresult '
     910        @$(APPEND) $@.tmp '#define NS_IMETHOD_(type)               virtual type '
     911        @$(APPEND) $@.tmp '#define NS_IMETHODIMP                   nsresult '
     912        @$(APPEND) $@.tmp '#define NS_IMETHODIMP_(type)            type '
    911913        @$(APPEND) $@.tmp '#define PARSERS_EXPORT '
    912         @$(APPEND) $@.tmp '#define STDMETHOD(a)                    NS_IMETHOD a '
     914if1of ($(KBUILD_HOST),win)
     915        @$(APPEND) $@.tmp '#define STDMETHOD(m)                    virtual HRESULT m '
     916        @$(APPEND) $@.tmp '#define STDMETHOD_(type,m)              virtual type m '
     917        @$(APPEND) $@.tmp '#define STDMETHODIMP                    HRESULT '
     918        @$(APPEND) $@.tmp '#define STDMETHODIMP_(type)             type '
     919else
     920        @$(APPEND) $@.tmp '#define STDMETHOD(m)                    virtual nsresult m '
     921        @$(APPEND) $@.tmp '#define STDMETHOD_(type,m)              virtual type m '
     922        @$(APPEND) $@.tmp '#define STDMETHODIMP                    nsresult '
     923        @$(APPEND) $@.tmp '#define STDMETHODIMP_(type)             type '
     924endif
    913925        @$(APPEND) $@.tmp '#define VBOX_SCRIPTABLE(a)              public a '
    914926        @$(APPEND) $@.tmp '#define VBOX_SCRIPTABLE_IMPL(a) '
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