mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[COMMAND]
- Fix the GCC macro for structure declaration, so that referencing an offset to the structure doesn't fail anymore (ie. doing "mov dx, offset MyStruct" doesn't assemble to "mov dx, 0x100"). This fixes NTVDM not being able to start any DOS app. Reported by Aleksander Rechitskiy. CORE-9677 CORE-9679 #resolve CORE-9678 [NTVDM] - Fix newline in DPRINT. svn path=/trunk/; revision=69211
This commit is contained in:
parent
427c11919f
commit
f4d255aec6
2 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@
|
|||
#define ENDS(...) ENDM
|
||||
|
||||
#define VAR_STRUCT(name, struct) \
|
||||
struct name
|
||||
name: struct name
|
||||
|
||||
#define FIELD(name, field) \
|
||||
name##_##field
|
||||
|
|
|
@ -601,7 +601,7 @@ static VOID CmdSetExitCode(VOID)
|
|||
{
|
||||
RemoveComSpecInfo(ComSpecInfo);
|
||||
#endif
|
||||
DPRINT1("Exit DOS from ExitCode (prologue)!");
|
||||
DPRINT1("Exit DOS from ExitCode (prologue)!\n");
|
||||
setCF(0);
|
||||
goto Quit;
|
||||
#ifndef STANDALONE
|
||||
|
|
Loading…
Reference in a new issue