reactos/sdk/include
Joachim Henze 1cca5d36a0 [0.4.10][SDK/INCLUDE] Fix MSVC x86 warning LNK4078 CORE-18104
Fix the .code16 macro definition for MASM/ML.

Modify the .code16 macro so that the 16-bit code segment can get a
chance to be correctly merged with other (possibly 32-bit) code
segments, without keeping generating multiple .text segments with
different attributes and generating the corresponding LNK4078 warning.

This fixes the warning when compiling NTOSKRNL on MSVC2010SP1 x86 in dbg config:
"v86.S.obj : warning LNK4078: multiple '.text' sections found with different attributes (C0520040)".

And it even slightly shrinks the size of hal.dll, e.g. for releases/0.4.7 from 1.231.360 to 1.230.848bytes

fix picked from 0.4.12-dev-494-g 0ee02b2c4d
2022-03-27 10:26:00 +02:00
..
asm [0.4.10][SDK/INCLUDE] Fix MSVC x86 warning LNK4078 CORE-18104 2022-03-27 10:26:00 +02:00
c++ Add .gitattributes and .gitignore files and normalize line endings in the repository (#10) 2017-10-04 20:37:32 +02:00
crt [INCLUDE/CRT] Add some throw() annotations. #179 #210 2017-12-25 12:56:16 +01:00
ddk [STORPORT] Enumerate attached devices 2018-05-24 11:39:47 +02:00
dxsdk [DXSDK] Add a header guard to aviriff.h. 2018-03-08 13:44:37 +01:00
GL Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
host Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
ndk [NTOS:OB] Rename object types to their official names to satisfy WinDbg 2018-08-17 20:28:45 +02:00
psdk [PSDK] Add IDCANCEL and IDASYNC values (returned by MessageBoxTimeout() and WTSSendMessage() functions). 2018-08-17 17:12:19 +02:00
reactos [0.4.10][SHELL32][SHLWAPI][COMDLG32][SDK] Unable to select a Zip file for sending with Common Open Dialog CORE-16908 2022-02-26 23:55:30 +01:00
xdk [0.4.10][XDK][PSDK][WINE] Unify ARRAY_SIZE definition for Wine modules. 2022-03-13 21:41:21 +01:00