VirtualBox

Ignore:
Timestamp:
Jun 18, 2007 10:24:11 PM (18 years ago)
Author:
vboxsync
Message:

XPCOM: Ported necessary bits of IPC/DConnect tp OS/2.

Location:
trunk/src/libs/xpcom18a4/nsprpub/pr/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/_os2.h

    r1 r3149  
    370370#define _PR_LOCK                      _MD_LOCK
    371371#define _PR_UNLOCK                                        _MD_UNLOCK
    372 
     372extern void
     373md_UnlockAndPostNotifies(struct _MDLock *lock, PRThread *waitThred, struct _MDCVar *waitCV);
    373374#ifdef USE_RAMSEM
    374375#define _MD_NEW_LOCK                  (_PR_MD_NEW_LOCK)
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/_vbox.cfg

    r2988 r3149  
    5454#elif defined(__SOLARIS__)
    5555# include <md/_solaris.cfg>
     56#elif defined(__OS2__)
     57# include <md/_os2.cfg>
    5658#else
    5759# error "Define the correct platform identifier / Port me."
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/obsolete/protypes.h

    r1 r3149  
    9797
    9898#if !defined(XP_BEOS) && !defined(VMS) \
     99    && !defined(XP_OS2_EMX) \
    99100    && !defined(XP_UNIX) || defined(NTO)
    100101typedef PRUintn uint;
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prtypes.h

    r2443 r3149  
    157157#define PR_EXTERN_DATA(__type) extern __declspec(export) __type
    158158#define PR_IMPLEMENT_DATA(__type) __declspec(export) __type
     159
     160#define PR_CALLBACK
     161#define PR_CALLBACK_DECL
     162#define PR_STATIC_CALLBACK(__x) static __x
     163
     164#elif defined(XP_OS2) && defined(__declspec)
     165
     166#define PR_EXPORT(__type) extern __declspec(dllexport) __type
     167#define PR_EXPORT_DATA(__type) extern __declspec(dllexport) __type
     168#define PR_IMPORT(__type) __declspec(dllimport) __type
     169#define PR_IMPORT_DATA(__type) __declspec(dllimport) __type
     170
     171#define PR_EXTERN(__type) extern __declspec(dllexport) __type
     172#define PR_IMPLEMENT(__type) __declspec(dllexport) __type
     173#define PR_EXTERN_DATA(__type) extern __declspec(dllexport) __type
     174#define PR_IMPLEMENT_DATA(__type) __declspec(dllexport) __type
    159175
    160176#define PR_CALLBACK
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