Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: nspr/pr/src/md/windows/ntinrval.c

Issue 1843333003: Update NSPR to 4.12 and NSS to 3.23 on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public 2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 5
6 /* 6 /*
7 * NT interval timers 7 * NT interval timers
8 * 8 *
9 */ 9 */
10 10
11 /* Mozilla's build system defines this globally. */
12 #ifdef WIN32_LEAN_AND_MEAN
13 #undef WIN32_LEAN_AND_MEAN
14 #endif
11 #include "primpl.h" 15 #include "primpl.h"
12 16
13 #ifdef WINCE 17 #ifdef WINCE
14 typedef DWORD (*IntervalFuncType)(void); 18 typedef DWORD (*IntervalFuncType)(void);
15 static IntervalFuncType intervalFunc; 19 static IntervalFuncType intervalFunc;
16 #endif 20 #endif
17 21
18 void 22 void
19 _PR_MD_INTERVAL_INIT() 23 _PR_MD_INTERVAL_INIT()
20 { 24 {
(...skipping 17 matching lines...) Expand all
38 #else 42 #else
39 return timeGetTime(); 43 return timeGetTime();
40 #endif 44 #endif
41 } 45 }
42 46
43 PRIntervalTime 47 PRIntervalTime
44 _PR_MD_INTERVAL_PER_SEC() 48 _PR_MD_INTERVAL_PER_SEC()
45 { 49 {
46 return 1000; 50 return 1000;
47 } 51 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698