From 20afb115108ba0312024e29d7dfd1e4a9d32872c Mon Sep 17 00:00:00 2001 From: Jon Parise Date: Thu, 13 Feb 2003 18:54:15 +0000 Subject: [PATCH] applied patch from Parise for MSVC6.0 --- dtool/src/dtoolutil/filename.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dtool/src/dtoolutil/filename.cxx b/dtool/src/dtoolutil/filename.cxx index 42170c1df0..0f8d7d2658 100644 --- a/dtool/src/dtoolutil/filename.cxx +++ b/dtool/src/dtoolutil/filename.cxx @@ -52,6 +52,12 @@ #include #endif +// The MSVC 6.0 Win32 SDK lacks the following definitions, so we define them +// here for compatibility. +#ifndef FILE_ATTRIBUTE_DEVICE +#define FILE_ATTRIBUTE_DEVICE 0x00000040 +#endif + // We might have been linked with the Cygwin dll. This is ideal if it // is available, because it allows Panda to access all the Cygwin // mount definitions if they are in use. If the Cygwin dll is not