PCemOnMac / PCemV17macOS

Port of the PCem PC emulator for macOS. Comes with OpenGL 3.0 support built-in
GNU General Public License v3.0
68 stars 14 forks source link

cdrom-ioctl-osx.c:59:9: error: implicit declaration of function 'close' is invalid in C99 #31

Open iMacker2020 opened 2 years ago

iMacker2020 commented 2 years ago

When I try to build I see this error:

cdrom-ioctl-osx.c:59:9: error: implicit declaration of function 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration] close(fd);

My Info: Mac OS 11.1 M1 MacBook Air