From: <mie...@us...> - 2008-09-06 15:56:21
|
Revision: 3196 http://oorexx.svn.sourceforge.net/oorexx/?rev=3196&view=rev Author: miesfeld Date: 2008-09-06 15:56:30 +0000 (Sat, 06 Sep 2008) Log Message: ----------- Allow FileSystem.cpp to compile with newer versions of the Windows SDK. Modified Paths: -------------- main/trunk/interpreter/platform/windows/FileSystem.cpp Modified: main/trunk/interpreter/platform/windows/FileSystem.cpp =================================================================== --- main/trunk/interpreter/platform/windows/FileSystem.cpp 2008-09-06 15:10:57 UTC (rev 3195) +++ main/trunk/interpreter/platform/windows/FileSystem.cpp 2008-09-06 15:56:30 UTC (rev 3196) @@ -57,10 +57,12 @@ #include <conio.h> #define MAX_STDOUT_LENGTH 32767 /* max. amount of data to push to STDOUT @THU007A */ /* @HOL007M */ +#if (WINVER < 0x0600) #define COMPILE_NEWAPIS_STUBS /* Allows GetLongPathName to run on */ -#define WANT_GETLONGPATHNAME_WRAPPER /* NT and Windows 95 */ -#define NO_SHOBJIDL_SORTDIRECTION +#define WANT_GETLONGPATHNAME_WRAPPER /* NT versions less than SP 3 and on */ +#define NO_SHOBJIDL_SORTDIRECTION /* Windows 95 */ #include <NewAPIs.h> +#endif /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |