| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 #include <dbghelp.h> // For SymLoadModule64 and al. | 68 #include <dbghelp.h> // For SymLoadModule64 and al. |
| 69 #include <errno.h> // For STRUNCATE | 69 #include <errno.h> // For STRUNCATE |
| 70 #endif // __MINGW32__ | 70 #endif // __MINGW32__ |
| 71 #include <limits.h> // For INT_MAX and al. | 71 #include <limits.h> // For INT_MAX and al. |
| 72 #include <tlhelp32.h> // For Module32First and al. | 72 #include <tlhelp32.h> // For Module32First and al. |
| 73 | 73 |
| 74 // These additional WIN32 includes have to be right here as the #undef's below | 74 // These additional WIN32 includes have to be right here as the #undef's below |
| 75 // makes it impossible to have them elsewhere. | 75 // makes it impossible to have them elsewhere. |
| 76 #include <winsock2.h> | 76 #include <winsock2.h> |
| 77 #include <ws2tcpip.h> | 77 #include <ws2tcpip.h> |
| 78 #ifndef __MINGW32__ |
| 78 #include <wspiapi.h> | 79 #include <wspiapi.h> |
| 80 #endif // __MINGW32__ |
| 79 #include <process.h> // for _beginthreadex() | 81 #include <process.h> // for _beginthreadex() |
| 80 #include <stdlib.h> | 82 #include <stdlib.h> |
| 81 #endif // V8_WIN32_HEADERS_FULL | 83 #endif // V8_WIN32_HEADERS_FULL |
| 82 | 84 |
| 83 #undef VOID | 85 #undef VOID |
| 84 #undef DELETE | 86 #undef DELETE |
| 85 #undef IN | 87 #undef IN |
| 86 #undef THIS | 88 #undef THIS |
| 87 #undef CONST | 89 #undef CONST |
| 88 #undef NAN | 90 #undef NAN |
| 89 #undef TRUE | 91 #undef TRUE |
| 90 #undef FALSE | 92 #undef FALSE |
| 91 #undef UNKNOWN | 93 #undef UNKNOWN |
| 92 #undef NONE | 94 #undef NONE |
| 93 #undef ANY | 95 #undef ANY |
| 94 #undef IGNORE | 96 #undef IGNORE |
| 95 #undef GetObject | 97 #undef GetObject |
| 96 #undef CreateMutex | 98 #undef CreateMutex |
| 97 #undef CreateSemaphore | 99 #undef CreateSemaphore |
| OLD | NEW |