Hello, im looking for someone which can help me to tell me how i can make the files compile with -m64 flag On a 64bit machine.
I've already started to change some datatypes, but I'm not 100% sure if all is correct.
I would pay for help!
Edit: (my current changes)
(These i made long time ago (byte, word, DWORD) and it's fine. (I'm also using it on my 32bit files.
BYTE -> uint8_t
WORD -> uint16_t
DWORD -> uint32_t
New changes because of 64bit source:
int -> int32_t
unsigned int -> uint32_t
unsigned char -> uint8_t
long long -> int64_t
unsigned short -> uint16_t
short -> int16_t
(i have changed all types on (common, db, game, libgame, liblua, libsql, libthecore, libpoly))
I'm very unsure because of (size_t, ssize_t, time_t, long) if I try to change them, i get problems. And I'm not sure because of the type changes at libs.
Thank you