mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-12-03 23:13:39 +08:00
Redefined ELIBBAD as ENOEXEC when missing
When a plugin cannot be initialized a ELIBBAD error is returned on Linux and OpenIndiana. As this is not a Posix error code, use ENOEXEC on systems which do not define ELIBBAD.
This commit is contained in:
parent
0ad352b40f
commit
040153adcb
@ -37,6 +37,10 @@
|
||||
#define ENODATA ENOENT
|
||||
#endif
|
||||
|
||||
#ifndef ELIBBAD
|
||||
#define ELIBBAD ENOEXEC
|
||||
#endif
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX 4096
|
||||
#endif
|
||||
|
@ -47,6 +47,7 @@
|
||||
#include <getopt.h>
|
||||
#include <fuse.h>
|
||||
|
||||
#include "compat.h"
|
||||
#include "inode.h"
|
||||
#include "dir.h"
|
||||
#include "security.h"
|
||||
|
Loading…
Reference in New Issue
Block a user