Closed linkmauve closed 4 years ago
Yes, looking at the basic data types section in sdk2_3dfx.h, it is tempting to go to next step and just use the real types!
My worry is that games which rely on these types would fail to build after the renaming, while keeping these aliases avoids the issue altogether. I didn’t have this issue in dosbox-x because it doesn’t expose its API to users.
True, that may trigger a chain of sed commands (and maybe mistakes) in different projects. At least, these are just the default ones (typedef'ed)
This makes the types consistent on all platforms.
Running
./configure
is now faster by more than 1s (5.0s → 3.8s on my computer).In the future, it might be nice to outright replace them like in https://github.com/joncampbell123/dosbox-x/pull/1889