[Box Backup-commit] COMMIT r2186 - box/trunk/lib/common
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Wed May 28 16:59:38 BST 2008
Author: chris
Date: 2008-05-28 16:59:38 +0100 (Wed, 28 May 2008)
New Revision: 2186
Modified:
box/trunk/lib/common/BoxPlatform.h
Log:
Check that Box.h has been included early enough.
Modified: box/trunk/lib/common/BoxPlatform.h
===================================================================
--- box/trunk/lib/common/BoxPlatform.h 2008-05-28 15:59:01 UTC (rev 2185)
+++ box/trunk/lib/common/BoxPlatform.h 2008-05-28 15:59:38 UTC (rev 2186)
@@ -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 <sys/types.h>
#define __MSVCRT_VERSION__ 0x0601
More information about the Boxbackup-commit
mailing list