RFH: div()/ldiv() compatibility
Dimitrie O. Paun
dpaun at rogers.com
Wed Nov 26 12:34:14 CST 2003
We currently have a bit of a problem with div()/ldiv()
(from msvcrt). Namely, they are defined to return a
structure of type div_t/ldiv_t respectively. However,
on i386, this is returned in windows in the eax/edx
registers (the same as a long long).
Now, before I go search for the ABI about returning
small structures, can someone tell me if there is
any way to maintain both source and binary compatibility?
More information about the wine-devel