VirtualBox

Changeset 12388 in vbox for trunk


Ignore:
Timestamp:
Sep 11, 2008 1:14:55 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
36434
Message:

VBoxPython: Need initVBoxPython2_3 for VBoxPython2_3.so, just like for the 2.5 version. Wonder why it used to work...

Location:
trunk/src/libs/xpcom18a4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r12383 r12388  
    13511351VBoxPython_DEFS = _IMPL_NS_COM _IMPL_NS_BASE EXPORT_XPTI_API EXPORT_XPT_API \
    13521352                  VBOX_PYXPCOM VBOX_WITH_XPCOM
     1353VBoxPython_DEFS.darwin = VBOX_PYXPCOM_VERSIONED
    13531354VBoxPython_NAME.darwin = VBoxPython2_3
    13541355ifeq ($(KBUILD_TARGET),darwin)
     
    13961397VBoxPython2_5_TEMPLATE = XPCOMOSX105
    13971398VBoxPython2_5_NAME.darwin = VBoxPython2_5
    1398 VBoxPython2_5_DEFS = VBOX_PYXPCOM_VERSIONED $(VBoxPython_DEFS)
    13991399VBoxPython2_5_INCS = \
    14001400        python/src \
  • trunk/src/libs/xpcom18a4/python/src/module/_xpcom.cpp

    r12379 r12388  
    7373#ifdef VBOX_PYXPCOM
    7474# ifdef VBOX_PYXPCOM_VERSIONED
    75 #  if PY_VERSION_HEX >= 0x02080000
     75#  if   PY_VERSION_HEX >= 0x02080000
    7676#   define MODULE_NAME "VBoxPython2_8"
    7777#  elif PY_VERSION_HEX >= 0x02070000
     
    611611void
    612612# ifdef VBOX_PYXPCOM_VERSIONED
    613 #  if PY_VERSION_HEX >= 0x02080000
     613#  if   PY_VERSION_HEX >= 0x02080000
    614614initVBoxPython2_8() {
    615615#  elif PY_VERSION_HEX >= 0x02070000
     
    620620initVBoxPython2_5() {
    621621#  elif PY_VERSION_HEX >= 0x02040000
    622 #   error "you must test VBOX_PYXPCOM_VERSIONED on 2.4"
    623 initVBoxPython() {
     622initVBoxPython2_4() {
    624623#  elif PY_VERSION_HEX >= 0x02030000
    625 #   error "you must test VBOX_PYXPCOM_VERSIONED on 2.3"
    626 initVBoxPython() {
     624initVBoxPython2_3() {
    627625#  else
    628626#   error "Fix module versioning.
Note: See TracChangeset for help on using the changeset viewer.

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