XboxDev / nxdk-pdclib

The Public Domain C Library (adapted for original Xbox / nxdk toolchain)
http://pdclib.rootdirectory.de
Creative Commons Zero v1.0 Universal
19 stars 9 forks source link

xbox: Use IMAGE_TLS_DIRECTORY_32 from winapi #39

Closed thrimbor closed 3 years ago

thrimbor commented 3 years ago

Our PDCLib port so far used its own IMAGE_TLS_DIRECTORY struct. This conflicts with winapi, now that winapi is more complete, which is why IMAGE_TLS_DIRECTORY is not included there yet (it would just be a typedef to IMAGE_TLS_DIRECTORY32. This PR removes the struct definition from PDCLib, and uses IMAGE_TLS_DIRECTORY32 from winapi instead.