libretro: fix prototype for getopt with newer GCC on psp (#184)

This commit is contained in:
Craig authored and GitHub committed 2026-09-26 12:31:00 +02:00
1 parent 958105a90a
commit e997e2bc32
1 file changed
+1 -1
+1 -1
View File
@@ -138,7 +138,7 @@ struct option
`getopt'. */
#if (defined __STDC__ && __STDC__) || defined __cplusplus
# if defined(__GNU_LIBRARY__) || defined(VITA)
# if defined(__GNU_LIBRARY__) || defined(VITA) || defined(PSP)
/* Many other libraries have conflicting prototypes for getopt, with
differences in the consts, in stdlib.h. To avoid compilation
errors, only prototype getopt for the GNU C library. */