Bugzilla bug #42714: removed dependency on winmm.dll. Replaced
timeGetTime() with GetTickCount(). Modified files: pr/src/Makefile, pr/src/Makefile.in, ntinrval.c git-svn-id: svn://10.0.0.236/trunk@73317 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -157,7 +157,7 @@ endif
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
ifneq ($(OS_TARGET),WIN16)
|
||||
OS_LIBS = advapi32.lib wsock32.lib winmm.lib
|
||||
OS_LIBS = advapi32.lib wsock32.lib
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
@@ -162,7 +162,7 @@ ifeq ($(OS_TARGET),OS2)
|
||||
# We define this in os2.mk.
|
||||
else
|
||||
ifneq ($(OS_TARGET),WIN16)
|
||||
OS_LIBS = wsock32.lib winmm.lib
|
||||
OS_LIBS = advapi32.lib wsock32.lib
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -88,7 +88,7 @@ _PR_MD_GET_INTERVAL()
|
||||
#elif defined(WIN16)
|
||||
return clock(); /* milliseconds since application start */
|
||||
#else
|
||||
return timeGetTime(); /* milliseconds since system start */
|
||||
return GetTickCount(); /* milliseconds since system start */
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user