cdrom: Rename "stat" to "cdr_stat"
authorPaul Cercueil <paul@crapouillou.net>
Wed, 29 May 2024 13:46:57 +0000 (15:46 +0200)
committernotaz <notasas@gmail.com>
Wed, 29 May 2024 20:57:29 +0000 (23:57 +0300)
commit4452ed9af7a7487c29839da562c47b860a5825ca
tree4155232993e0edd200b5ceadda78ffc48f595c71
parent87f07621f8f864204d15e5514b7dcda7ed458fd4
cdrom: Rename "stat" to "cdr_stat"

"stat" is a C function from <sys/stat.h>. While libpcsxcore/cdrom.c does
not include this header, some of the headers it does include may
actually include it themselves (depending on the C library).

Work around possible name conflicts by just renaming the offending
variable.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
libpcsxcore/cdrom.c