Index: src/win32-headers.h |
diff --git a/src/win32-headers.h b/src/win32-headers.h |
index 2443685cbd3143c7e6d0db968c5f0ef940ae1244..c83937c6da190f28752b69f4c9fcec14d024105a 100644 |
--- a/src/win32-headers.h |
+++ b/src/win32-headers.h |
@@ -25,9 +25,6 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-#ifndef V8_WIN32_HEADERS_H_ |
-#define V8_WIN32_HEADERS_H_ |
- |
#ifndef WIN32_LEAN_AND_MEAN |
// WIN32_LEAN_AND_MEAN implies NOCRYPT and NOGDI. |
#define WIN32_LEAN_AND_MEAN |
@@ -58,6 +55,7 @@ |
#include <windows.h> |
+#ifdef V8_WIN32_HEADERS_FULL |
#include <signal.h> // For raise(). |
#include <time.h> // For LocalOffset() implementation. |
#include <mmsystem.h> // For timeGetTime(). |
@@ -83,6 +81,7 @@ |
#endif // __MINGW32__ |
#include <process.h> // For _beginthreadex(). |
#include <stdlib.h> |
+#endif // V8_WIN32_HEADERS_FULL |
#undef VOID |
#undef DELETE |
@@ -98,5 +97,3 @@ |
#undef CreateMutex |
#undef CreateSemaphore |
#undef Yield |
- |
-#endif // V8_WIN32_HEADERS_H_ |