mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1176266: In TimeStamp_posix.cpp, check for XP_LINUX instead of LINUX, and add missing #include, to allow strrchr usage. r=BenWa
Landing on a CLOSED TREE with RyanVM's permission.
This commit is contained in:
parent
aa60ff7bab
commit
f7a104927a
@ -16,6 +16,7 @@
|
||||
#include <sys/syscall.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(__DragonFly__) || defined(__FreeBSD__) \
|
||||
|| defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
@ -205,7 +206,7 @@ TimeStamp::Now(bool aHighResolution)
|
||||
return TimeStamp(ClockTimeNs());
|
||||
}
|
||||
|
||||
#if defined(LINUX) || defined(ANDROID)
|
||||
#if defined(XP_LINUX) || defined(ANDROID)
|
||||
|
||||
// Calculates the amount of jiffies that have elapsed since boot and up to the
|
||||
// starttime value of a specific process as found in its /proc/*/stat file.
|
||||
|
Loading…
Reference in New Issue
Block a user