Changeset 102231 in vbox
- Timestamp:
- Nov 22, 2023 9:37:34 AM (12 months ago)
- Location:
- trunk/src/libs/xpcom18a4
- Files:
-
- 6 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/Makefile.kmk
r102226 r102231 180 180 NSPRPUB-MD-HEADERS_IFFLAGS = -m 644 181 181 NSPRPUB-MD-HEADERS_SOURCES = \ 182 nsprpub/pr/include/md/_darwin.h \183 nsprpub/pr/include/md/_freebsd.h \184 nsprpub/pr/include/md/_linux.h \185 nsprpub/pr/include/md/_netbsd.h \186 nsprpub/pr/include/md/_openbsd.h \187 nsprpub/pr/include/md/_solaris.h \188 182 nsprpub/pr/include/md/_unixos.h \ 189 183 nsprpub/pr/include/md/_pth.h \ -
trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/prosdep.h
r102209 r102231 43 43 */ 44 44 #include "prtypes.h" 45 #include "prinrval.h" 46 47 #ifndef XP_UNIX 48 # error "XPCOM supports only Unixy environments currently!" 49 #endif 50 51 #ifndef _PR_PTHREADS 52 # error "XPCOM supports pthreads only currently!" 53 #endif 45 54 46 55 PR_BEGIN_EXTERN_C 47 56 48 #if defined(XP_UNIX) 57 NSPR_API(void) _MD_EarlyInit(void); 49 58 50 # if defined(FREEBSD)51 # include "md/_freebsd.h"59 #define _MD_EARLY_INIT _MD_EarlyInit 60 #define _MD_FINAL_INIT _PR_UnixInit 52 61 53 #elif defined(NETBSD) 54 #include "md/_netbsd.h" 62 #if defined(LINUX) || defined(DARWIN) || defined(NETBSD) || defined(FREEBSD) || defined(OPENBSD) 55 63 56 #elif defined(OPENBSD) 57 #include "md/_openbsd.h" 64 NSPR_API(PRIntervalTime) _PR_UNIX_GetInterval(void); 65 NSPR_API(PRIntervalTime) _PR_UNIX_TicksPerSecond(void); 58 66 59 #elif defined(LINUX) 60 #include "md/_linux.h" 61 62 #elif defined(DARWIN) 63 #include "md/_darwin.h" 67 #define _MD_GET_INTERVAL _PR_UNIX_GetInterval 68 #define _MD_INTERVAL_PER_SEC _PR_UNIX_TicksPerSecond 64 69 65 70 #elif defined(SOLARIS) 66 #include "md/_solaris.h" 71 72 NSPR_API(PRIntervalTime) _MD_Solaris_GetInterval(void); 73 NSPR_API(PRIntervalTime) _MD_Solaris_TicksPerSecond(void); 74 75 # define _MD_GET_INTERVAL _MD_Solaris_GetInterval 76 # define _MD_INTERVAL_PER_SEC _MD_Solaris_TicksPerSecond 67 77 68 78 #else 69 #error unknown Unix flavor 70 79 # error unknown Unix flavor 71 80 #endif 72 81 73 82 #include "md/_unixos.h" 74 75 #else76 77 #error "The platform is not BeOS, Unix, Windows, or Mac"78 79 #endif80 81 #ifdef _PR_PTHREADS82 83 #include "md/_pth.h" 83 #endif84 84 85 85 PR_END_EXTERN_C
Note:
See TracChangeset
for help on using the changeset viewer.