VirtualBox

Ignore:
Timestamp:
May 13, 2013 7:59:49 PM (12 years ago)
Author:
vboxsync
Message:

src/libs/xpcom18a4: remove L4.

File:
1 edited

Legend:

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

    r38636 r46043  
    6666#if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS)
    6767
    68   #if defined(L4ENV)
    69 #include <l4/sys/types.h>
    70 #include <l4/sys/syscalls.h>
    71 
    72 static inline PRUint32
    73 WritePrefix(char *buf, PRUint32 bufLen)
    74 {
    75     l4_threadid_t my_id = l4_myself();
    76     return PR_snprintf(buf, bufLen, "[%u.%u] %s ",
    77                        static_cast<unsigned>(my_id.id.task),
    78                        static_cast<unsigned>(my_id.id.lthread),
    79                        ipcLogPrefix);
    80 }
    81 
    82   #else /* Not L4ENV */
    8368#include <sys/types.h>
    8469#include <unistd.h>
     
    9277                       ipcLogPrefix);
    9378}
    94   #endif /* Not L4ENV */
    9579#endif
    9680
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