thradams / cake

Cake a C23 front end and transpiler written in C
http://thradams.com/cake/index.html
GNU General Public License v3.0
552 stars 26 forks source link

pragma failing on windows headers.. after pragma refactoring #183

Closed thradams closed 8 months ago

thradams commented 8 months ago
typedef struct _SCARD_T0_REQUEST {
    SCARD_IO_REQUEST ioRequest;
    BYTE
        bSw1,
        bSw2;           // Return codes from the instruction
#pragma warning(push)
#pragma warning(disable:4201)
    union
    {
        SCARD_T0_COMMAND CmdBytes;
        BYTE rgbHeader[5];
    } DUMMYUNIONNAME;
#pragma warning(pop)
} SCARD_T0_REQUEST;