| OLD | NEW |
| 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 #ifndef nspr_win95_defs_h___ | 6 #ifndef nspr_win95_defs_h___ |
| 7 #define nspr_win95_defs_h___ | 7 #define nspr_win95_defs_h___ |
| 8 | 8 |
| 9 #include "prio.h" | 9 #include "prio.h" |
| 10 | 10 |
| (...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 extern void * _MD_MemMap(struct PRFileMap *fmap, PRInt64 offset, | 518 extern void * _MD_MemMap(struct PRFileMap *fmap, PRInt64 offset, |
| 519 PRUint32 len); | 519 PRUint32 len); |
| 520 #define _MD_MEM_MAP _MD_MemMap | 520 #define _MD_MEM_MAP _MD_MemMap |
| 521 | 521 |
| 522 extern PRStatus _MD_MemUnmap(void *addr, PRUint32 size); | 522 extern PRStatus _MD_MemUnmap(void *addr, PRUint32 size); |
| 523 #define _MD_MEM_UNMAP _MD_MemUnmap | 523 #define _MD_MEM_UNMAP _MD_MemUnmap |
| 524 | 524 |
| 525 extern PRStatus _MD_CloseFileMap(struct PRFileMap *fmap); | 525 extern PRStatus _MD_CloseFileMap(struct PRFileMap *fmap); |
| 526 #define _MD_CLOSE_FILE_MAP _MD_CloseFileMap | 526 #define _MD_CLOSE_FILE_MAP _MD_CloseFileMap |
| 527 | 527 |
| 528 extern PRStatus _MD_SyncMemMap( |
| 529 PRFileDesc *fd, |
| 530 void *addr, |
| 531 PRUint32 len); |
| 532 #define _MD_SYNC_MEM_MAP _MD_SyncMemMap |
| 533 |
| 528 /* --- Named semaphores stuff --- */ | 534 /* --- Named semaphores stuff --- */ |
| 529 #define _PR_HAVE_NAMED_SEMAPHORES | 535 #define _PR_HAVE_NAMED_SEMAPHORES |
| 530 #define _MD_OPEN_SEMAPHORE _PR_MD_OPEN_SEMAPHORE | 536 #define _MD_OPEN_SEMAPHORE _PR_MD_OPEN_SEMAPHORE |
| 531 #define _MD_WAIT_SEMAPHORE _PR_MD_WAIT_SEMAPHORE | 537 #define _MD_WAIT_SEMAPHORE _PR_MD_WAIT_SEMAPHORE |
| 532 #define _MD_POST_SEMAPHORE _PR_MD_POST_SEMAPHORE | 538 #define _MD_POST_SEMAPHORE _PR_MD_POST_SEMAPHORE |
| 533 #define _MD_CLOSE_SEMAPHORE _PR_MD_CLOSE_SEMAPHORE | 539 #define _MD_CLOSE_SEMAPHORE _PR_MD_CLOSE_SEMAPHORE |
| 534 #define _MD_DELETE_SEMAPHORE(name) PR_SUCCESS /* no op */ | 540 #define _MD_DELETE_SEMAPHORE(name) PR_SUCCESS /* no op */ |
| 535 | 541 |
| 536 #endif /* nspr_win32_defs_h___ */ | 542 #endif /* nspr_win32_defs_h___ */ |
| OLD | NEW |