Author: tkreuzer
Date: Tue May 27 21:32:42 2014
New Revision: 63485
URL: http://svn.reactos.org/svn/reactos?rev=63485&view=rev
Log:
[CMAKE]
Revert r63470 and add a comment, that this is not a typo.
Modified:
trunk/reactos/cmake/msvc.cmake
Modified: trunk/reactos/cmake/msvc.cmake
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/msvc.cmake?rev=63485…
==============================================================================
--- trunk/reactos/cmake/msvc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/msvc.cmake [iso-8859-1] Tue May 27 21:32:42 2014
@@ -291,7 +291,9 @@
endfunction()
if(ARCH STREQUAL "amd64")
- add_definitions(/D__x86_64__)
+ # This is NOT a typo.
+ # See https://software.intel.com/en-us/forums/topic/404643
+ add_definitions(/D__x86_64)
set(SPEC2DEF_ARCH x86_64)
elseif(ARCH STREQUAL "arm")
add_definitions(/D__arm__)
Author: aandrejevic
Date: Tue May 27 21:29:36 2014
New Revision: 63484
URL: http://svn.reactos.org/svn/reactos?rev=63484&view=rev
Log:
[NTVDM]
Fix the previous fix. Use LOBYTE/HIBYTE not LOWORD/HIWORD.
Modified:
trunk/reactos/subsystems/ntvdm/dos/dos32krnl/dos.c
Modified: trunk/reactos/subsystems/ntvdm/dos/dos32krnl/dos.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/ntvdm/dos/dos32…
==============================================================================
--- trunk/reactos/subsystems/ntvdm/dos/dos32krnl/dos.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/ntvdm/dos/dos32krnl/dos.c [iso-8859-1] Tue May 27 21:29:36 2014
@@ -443,8 +443,8 @@
*(DestBuffer++) = 0;
/* Store the special program name tag */
- *(DestBuffer++) = LOWORD(DOS_PROGRAM_NAME_TAG);
- *(DestBuffer++) = HIWORD(DOS_PROGRAM_NAME_TAG);
+ *(DestBuffer++) = LOBYTE(DOS_PROGRAM_NAME_TAG);
+ *(DestBuffer++) = HIBYTE(DOS_PROGRAM_NAME_TAG);
/* Copy the program name after the environment block */
strcpy(DestBuffer, ProgramName);