| 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 /* ***** BEGIN LICENSE BLOCK ***** | 2 /* ***** BEGIN LICENSE BLOCK ***** |
| 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 4 * | 4 * |
| 5 * The contents of this file are subject to the Mozilla Public License Version | 5 * The contents of this file are subject to the Mozilla Public License Version |
| 6 * 1.1 (the "License"); you may not use this file except in compliance with | 6 * 1.1 (the "License"); you may not use this file except in compliance with |
| 7 * the License. You may obtain a copy of the License at | 7 * the License. You may obtain a copy of the License at |
| 8 * http://www.mozilla.org/MPL/ | 8 * http://www.mozilla.org/MPL/ |
| 9 * | 9 * |
| 10 * Software distributed under the License is distributed on an "AS IS" basis, | 10 * Software distributed under the License is distributed on an "AS IS" basis, |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include <errno.h> | 45 #include <errno.h> |
| 46 | 46 |
| 47 /* | 47 /* |
| 48 * Internal configuration macros | 48 * Internal configuration macros |
| 49 */ | 49 */ |
| 50 | 50 |
| 51 #define PR_LINKER_ARCH "win32" | 51 #define PR_LINKER_ARCH "win32" |
| 52 #define _PR_SI_SYSNAME "WIN95" | 52 #define _PR_SI_SYSNAME "WIN95" |
| 53 #if defined(_M_IX86) || defined(_X86_) | 53 #if defined(_M_IX86) || defined(_X86_) |
| 54 #define _PR_SI_ARCHITECTURE "x86" | 54 #define _PR_SI_ARCHITECTURE "x86" |
| 55 #elif defined(_AMD64_) | 55 #elif defined(_M_X64) || defined(_M_AMD64) || defined(_AMD64_) |
| 56 #define _PR_SI_ARCHITECTURE "x86-64" | 56 #define _PR_SI_ARCHITECTURE "x86-64" |
| 57 #elif defined(_IA64_) | 57 #elif defined(_M_IA64) || defined(_IA64_) |
| 58 #define _PR_SI_ARCHITECTURE "ia64" | 58 #define _PR_SI_ARCHITECTURE "ia64" |
| 59 #elif defined(_ARM_) | 59 #elif defined(_M_ARM) || defined(_ARM_) |
| 60 #define _PR_SI_ARCHITECTURE "arm" | 60 #define _PR_SI_ARCHITECTURE "arm" |
| 61 #else | 61 #else |
| 62 #error unknown processor architecture | 62 #error unknown processor architecture |
| 63 #endif | 63 #endif |
| 64 | 64 |
| 65 #define HAVE_DLL | 65 #define HAVE_DLL |
| 66 #undef HAVE_THREAD_AFFINITY | 66 #undef HAVE_THREAD_AFFINITY |
| 67 #define _PR_HAVE_GETADDRINFO | 67 #define _PR_HAVE_GETADDRINFO |
| 68 #define _PR_INET6_PROBE | 68 #define _PR_INET6_PROBE |
| 69 #ifndef _PR_INET6 | 69 #ifndef _PR_INET6 |
| (...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 560 | 560 |
| 561 /* --- Named semaphores stuff --- */ | 561 /* --- Named semaphores stuff --- */ |
| 562 #define _PR_HAVE_NAMED_SEMAPHORES | 562 #define _PR_HAVE_NAMED_SEMAPHORES |
| 563 #define _MD_OPEN_SEMAPHORE _PR_MD_OPEN_SEMAPHORE | 563 #define _MD_OPEN_SEMAPHORE _PR_MD_OPEN_SEMAPHORE |
| 564 #define _MD_WAIT_SEMAPHORE _PR_MD_WAIT_SEMAPHORE | 564 #define _MD_WAIT_SEMAPHORE _PR_MD_WAIT_SEMAPHORE |
| 565 #define _MD_POST_SEMAPHORE _PR_MD_POST_SEMAPHORE | 565 #define _MD_POST_SEMAPHORE _PR_MD_POST_SEMAPHORE |
| 566 #define _MD_CLOSE_SEMAPHORE _PR_MD_CLOSE_SEMAPHORE | 566 #define _MD_CLOSE_SEMAPHORE _PR_MD_CLOSE_SEMAPHORE |
| 567 #define _MD_DELETE_SEMAPHORE(name) PR_SUCCESS /* no op */ | 567 #define _MD_DELETE_SEMAPHORE(name) PR_SUCCESS /* no op */ |
| 568 | 568 |
| 569 #endif /* nspr_win32_defs_h___ */ | 569 #endif /* nspr_win32_defs_h___ */ |
| OLD | NEW |