Changeset 102239 in vbox
- Timestamp:
- Nov 22, 2023 10:16:52 AM (16 months ago)
- svn:sync-xref-src-repo-rev:
- 160364
- Location:
- trunk/src/libs/xpcom18a4
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/Makefile.kmk
r102236 r102239 178 178 NSPRPUB-MD-HEADERS_IFFLAGS = -m 644 179 179 NSPRPUB-MD-HEADERS_SOURCES = \ 180 nsprpub/pr/include/md/_unixos.h \181 180 nsprpub/pr/include/md/_pth.h \ 182 181 nsprpub/pr/include/md/prosdep.h -
trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/prosdep.h
r102233 r102239 42 42 ** Get OS specific header information 43 43 */ 44 #include "prtypes.h" 45 #include "prinrval.h" 44 #include <unistd.h> 45 #include <stddef.h> 46 #include <errno.h> 46 47 47 48 #ifndef XP_UNIX … … 55 56 PR_BEGIN_EXTERN_C 56 57 57 #if defined(LINUX) || defined(DARWIN) || defined(NETBSD) || defined(FREEBSD) || defined(OPENBSD) 58 59 NSPR_API(PRIntervalTime) _PR_UNIX_GetInterval(void); 60 NSPR_API(PRIntervalTime) _PR_UNIX_TicksPerSecond(void); 61 62 #define _MD_GET_INTERVAL _PR_UNIX_GetInterval 63 #define _MD_INTERVAL_PER_SEC _PR_UNIX_TicksPerSecond 64 65 #elif defined(SOLARIS) 66 67 NSPR_API(PRIntervalTime) _MD_Solaris_GetInterval(void); 68 NSPR_API(PRIntervalTime) _MD_Solaris_TicksPerSecond(void); 69 70 # define _MD_GET_INTERVAL _MD_Solaris_GetInterval 71 # define _MD_INTERVAL_PER_SEC _MD_Solaris_TicksPerSecond 72 58 /* 59 * The standard (XPG4) gettimeofday() (from BSD) takes two arguments. 60 * On some SVR4 derivatives, gettimeofday() takes only one argument. 61 * The GETTIMEOFDAY macro is intended to hide this difference. 62 */ 63 #ifdef HAVE_SVID_GETTOD 64 #define GETTIMEOFDAY(tp) gettimeofday(tp) 73 65 #else 74 # error unknown Unix flavor66 #define GETTIMEOFDAY(tp) gettimeofday((tp), NULL) 75 67 #endif 76 68 77 #include "md/_unixos.h" 69 78 70 #include "md/_pth.h" 79 71
Note:
See TracChangeset
for help on using the changeset viewer.