From 7b9aae128f8996921e7b79569bd8c58ddac764e1 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 28 May 2008 15:59:38 +0000 Subject: Check that Box.h has been included early enough. --- lib/common/BoxPlatform.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/common/BoxPlatform.h b/lib/common/BoxPlatform.h index acec9cb3..92088414 100644 --- a/lib/common/BoxPlatform.h +++ b/lib/common/BoxPlatform.h @@ -29,6 +29,9 @@ #endif #ifdef WIN32 + #ifdef __MSVCRT_VERSION__ + #error Must include Box.h before sys/types.h + #endif // need msvcrt version 6.1 or higher for _gmtime64() // must define this before importing #define __MSVCRT_VERSION__ 0x0601 -- cgit v1.2.3