mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 18:14:24 +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
|
#define ENODATA ENOENT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef ELIBBAD
|
||||||
|
#define ELIBBAD ENOEXEC
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef PATH_MAX
|
#ifndef PATH_MAX
|
||||||
#define PATH_MAX 4096
|
#define PATH_MAX 4096
|
||||||
#endif
|
#endif
|
||||||
|
@ -47,6 +47,7 @@
|
|||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include <fuse.h>
|
#include <fuse.h>
|
||||||
|
|
||||||
|
#include "compat.h"
|
||||||
#include "inode.h"
|
#include "inode.h"
|
||||||
#include "dir.h"
|
#include "dir.h"
|
||||||
#include "security.h"
|
#include "security.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user