From 68d89b9fe9778478fa4884b4cbfa24c5b99df8ee Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 16 Oct 2006 23:21:36 +0000 Subject: Use BoxConfig-MSVC.h and BoxVersion.h when compiling with MSVC. (refs #3) --- lib/common/BoxPlatform.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/common/BoxPlatform.h') diff --git a/lib/common/BoxPlatform.h b/lib/common/BoxPlatform.h index cb83f7a9..3ae929ef 100644 --- a/lib/common/BoxPlatform.h +++ b/lib/common/BoxPlatform.h @@ -21,7 +21,12 @@ #define PLATFORM_DEV_NULL "/dev/null" +#ifdef _MSC_VER +#include "BoxConfig-MSVC.h" +#include "BoxVersion.h" +#else #include "BoxConfig.h" +#endif #ifdef WIN32 // need msvcrt version 6.1 or higher for _gmtime64() @@ -97,8 +102,6 @@ #define HAVE_U_INT16_T #define HAVE_U_INT32_T #define HAVE_U_INT64_T - - typedef int pid_t; #endif // WIN32 && !__MINGW32__ // Define missing types -- cgit v1.2.3