mirror of
https://github.com/libretro/fuse-libretro.git
synced 2026-11-07 10:36:03 -10:00
libretro: fix prototype for getopt with newer GCC on psp (#184)
This commit is contained in:
1 parent
958105a90a
commit
e997e2bc32
1 file changed
+1
-1
@@ -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. */
|
||||
|
||||
Reference in new issue
Block a user