
jorge.schrauwen at gmail
Jul 26, 2006, 1:10 PM
Views: 623
Permalink
|
|
Please Review! Path for os/win32/os.h - new reports Win64 when build for 64-bit
|
|
Ok this is my first path so please bare with me and review. Since I'm rather new to C I did a lot of research and testing on this. More information regarding the changes: http://msdn.microsoft.com/msdnmag/issues/06/05/x64/default.aspx#S4 ----------- os\win32\os.h ----------- --- os.h.orig 2006-04-22 03:53:06.000000000 +0200 +++ os.h 2006-07-26 21:22:24.000516000 +0200 @@ -38,7 +38,11 @@ #include <io.h> #include <fcntl.h> +//Checking the architecture we are compiling for (Itanium 64-bit, x64 (AMD64/EM64T) or x86) #define PLATFORM "Win32" +#ifdef _WIN64 +# define PLATFORM "Win64" +#endif /* going away shortly... */ #define HAVE_DRIVE_LETTERS thanks for your time to review. -- ~Jorge
|