gheja / gbdk

GameBoy Developer's Kit (GBDK) 2.96a from 2002 tuned so it can be compiled on a modern system (Ubuntu 18.04 LTS and 16.04 LTS).
84 stars 10 forks source link

Build fails on amd64 -- getline() #13

Closed gheja closed 10 years ago

gheja commented 10 years ago

Build still fails on amd64, see #6.

gheja commented 10 years ago

getline() uses _IO_ssize_t, and that is long on amd64 opposed to int on i386.

NEMS1996 commented 4 years ago

getline() uses _IO_ssize_t, and that is long on amd64 opposed to int on i386.

May I know how u overcome this error when compiling on amd64?

gheja commented 4 years ago

I believe it was only a type problem, I searched and replaced it, see commit c44d5c84dc29beb49bc7f7689c08679e434a4829 I mentioned in the close comment.