Skip to content

Comments

Bugfix: if not Win32 then BYTE, WORD, DWORD are now correctly set#9

Open
gnaray wants to merge 1 commit intosimonowen:masterfrom
gnaray:typefixnotwindows
Open

Bugfix: if not Win32 then BYTE, WORD, DWORD are now correctly set#9
gnaray wants to merge 1 commit intosimonowen:masterfrom
gnaray:typefixnotwindows

Conversation

@gnaray
Copy link

@gnaray gnaray commented Jun 23, 2024

Bugfix: if not Win32 then BYTE, WORD, DWORD are now correctly set as unsigned in CommonTypes.h.

The proper include is also added (cstdint).
Probably these 3 types are not used at all, removing this #ifndef _WIN32 block should also work.

The problem was that these 3 types are defined as unsigned in Linux (and in Windows anyway) and these signed redefined types conflicted with those.

…unsigned in CommonTypes.h.

The proper include is also added (cstdint).
Probably these 3 types are not used at all, removing this #ifndef _WIN32
block should also work.
The problem was that these 3 types are defined as unsigned in Linux
(and in Windows anyway) and these signed redefined types conflicted
with those.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant