I have a C header file (it's a part of some SDK) and there is a typedef which depends on system architecture (whether it is 32 or 64-bit), how do I transfer it to my D module? Thanks.
Edit: OK, that was too simple and I've already find a solution... If someone interested, it is:
version(X86) {
typedef int your_type;
}
version(X86_64) {
typedef long your_type;
}