diff options
author | Chris Wilson <chris+github@qwirx.com> | 2006-10-16 23:21:36 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2006-10-16 23:21:36 +0000 |
commit | 68d89b9fe9778478fa4884b4cbfa24c5b99df8ee (patch) | |
tree | f3e6060450d8a8ebf1efc7c7d3d48aaed5a5c9c1 /lib/common/BoxPlatform.h | |
parent | 75da451418ba6092424f1f7e87f75da72e99a3f5 (diff) |
Use BoxConfig-MSVC.h and BoxVersion.h when compiling with MSVC. (refs #3)
Diffstat (limited to 'lib/common/BoxPlatform.h')
-rw-r--r-- | lib/common/BoxPlatform.h | 7 |
1 files changed, 5 insertions, 2 deletions
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 |