mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Remove non-portable "extern int errno" declaration
Declaring errno as an extern int breaks when errno is implemented as a macro (as is allowed by POSIX). Specifically it breaks building fish-shell on Android.
This commit is contained in:
parent
9fd6b5e1e2
commit
a4b17b162c
@ -47,8 +47,6 @@
|
||||
#define TRUE (!FALSE)
|
||||
#endif
|
||||
|
||||
extern int errno;
|
||||
|
||||
typedef struct XdgMimeMagicMatch XdgMimeMagicMatch;
|
||||
typedef struct XdgMimeMagicMatchlet XdgMimeMagicMatchlet;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user