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

Side by Side Diff: source/common/umutex.h

Issue 256183002: Fix two more compile errros on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/icu52/
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 ********************************************************************** 2 **********************************************************************
3 * Copyright (C) 1997-2013, International Business Machines 3 * Copyright (C) 1997-2013, International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 ********************************************************************** 5 **********************************************************************
6 * 6 *
7 * File UMUTEX.H 7 * File UMUTEX.H
8 * 8 *
9 * Modification History: 9 * Modification History:
10 * 10 *
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 # define NOSERVICE 313 # define NOSERVICE
314 # define NOIME 314 # define NOIME
315 # define NOMCX 315 # define NOMCX
316 # ifndef NOMINMAX 316 # ifndef NOMINMAX
317 # define NOMINMAX 317 # define NOMINMAX
318 # endif 318 # endif
319 # include <windows.h> 319 # include <windows.h>
320 320
321 321
322 typedef struct UMutex { 322 typedef struct UMutex {
323 UInitOnce fInitOnce; 323 icu::UInitOnce fInitOnce;
324 CRITICAL_SECTION fCS; 324 CRITICAL_SECTION fCS;
325 } UMutex; 325 } UMutex;
326 326
327 /* Initializer for a static UMUTEX. Deliberately contains no value for the 327 /* Initializer for a static UMUTEX. Deliberately contains no value for the
328 * CRITICAL_SECTION. 328 * CRITICAL_SECTION.
329 */ 329 */
330 #define U_MUTEX_INITIALIZER {U_INITONCE_INITIALIZER} 330 #define U_MUTEX_INITIALIZER {U_INITONCE_INITIALIZER}
331 331
332 332
333 333
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 U_INTERNAL void U_EXPORT2 umtx_lock(UMutex* mutex); 374 U_INTERNAL void U_EXPORT2 umtx_lock(UMutex* mutex);
375 375
376 /* Unlock a mutex. 376 /* Unlock a mutex.
377 * @param mutex The given mutex to be unlocked. Pass NULL to specify 377 * @param mutex The given mutex to be unlocked. Pass NULL to specify
378 * the global ICU mutex. 378 * the global ICU mutex.
379 */ 379 */
380 U_INTERNAL void U_EXPORT2 umtx_unlock (UMutex* mutex); 380 U_INTERNAL void U_EXPORT2 umtx_unlock (UMutex* mutex);
381 381
382 #endif /* UMUTEX_H */ 382 #endif /* UMUTEX_H */
383 /*eof*/ 383 /*eof*/
OLDNEW
« README.chromium ('K') | « patches/vscomp.patch ('k') | source/common/wintz.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698