VirtualBox

Changeset 3372 in vbox for trunk/src/libs/xpcom18a4/ipc/ipcd


Ignore:
Timestamp:
Jul 3, 2007 1:05:50 AM (18 years ago)
Author:
vboxsync
Message:

XPCOM: Executable and DLL names may be specified from makefiles, for consistency.

Location:
trunk/src/libs/xpcom18a4/ipc/ipcd/shared/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/ipc/ipcd/shared/src/ipcConfig.cpp

    r1 r3372  
    3636 * ***** END LICENSE BLOCK ***** */
    3737
    38 #ifdef XP_WIN
     38#if defined(XP_WIN)
     39#elif defined(XP_OS2) && defined(XP_OS2_NATIVEIPC)
    3940#else
    4041#include <string.h>
     
    4445#include "plstr.h"
    4546
    46 #ifdef XP_OS2
     47#if defined(XP_OS2) && !defined(XP_OS2_NATIVEIPC)
     48#ifdef VBOX
     49static const char kDefaultSocketPrefix[] = "\\socket\\vbox-";
     50#else
    4751static const char kDefaultSocketPrefix[] = "\\socket\\mozilla-";
     52#endif
    4853static const char kDefaultSocketSuffix[] = "-ipc\\ipcd";
    4954#else
  • trunk/src/libs/xpcom18a4/ipc/ipcd/shared/src/ipcConfig.h

    r1 r3372  
    5050#define IPC_CLIENT_WINDOW_NAME_PREFIX "Mozilla:IPCAppWindow:"
    5151#define IPC_SYNC_EVENT_NAME           "Local\\MozillaIPCSyncEvent"
     52#ifndef IPC_DAEMON_APP_NAME
    5253#define IPC_DAEMON_APP_NAME           "mozilla-ipcd.exe"
     54#endif
    5355#define IPC_PATH_SEP_CHAR             '\\'
    5456#define IPC_MODULES_DIR               "ipc\\modules"
     
    7173#define IPC_PORT                0
    7274#define IPC_SOCKET_TYPE         "ipc"
    73 #define IPC_DAEMON_APP_NAME     "VBoxXPCOMIPCD"
    74 #ifdef XP_OS2
     75#if defined(XP_OS2)
     76#ifndef IPC_DAEMON_APP_NAME
     77#define IPC_DAEMON_APP_NAME     "mozilla-ipcd.exe"
     78#endif
    7579#define IPC_PATH_SEP_CHAR       '\\'
    7680#define IPC_MODULES_DIR         "ipc\\modules"
    7781#else
     82#ifndef IPC_DAEMON_APP_NAME
     83#define IPC_DAEMON_APP_NAME     "mozilla-ipcd"
     84#endif
    7885#define IPC_PATH_SEP_CHAR       '/'
    7986#define IPC_MODULES_DIR         "ipc/modules"
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