* Added minimal config.h.
* Added FUSE option parsing to the build -- small changes to get it building. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29813 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8553e89ea8
commit
a79773546f
src/add-ons/kernel/file_systems/userlandfs/server/fuse
@ -23,6 +23,7 @@ SharedLibrary libuserlandfs_fuse.so
|
||||
:
|
||||
fuse_fs.cpp
|
||||
fuse_main.cpp
|
||||
fuse_opt.c
|
||||
FUSEFileSystem.cpp
|
||||
FUSEVolume.cpp
|
||||
|
||||
|
@ -0,0 +1,2 @@
|
||||
// #undef HAVE_STRUCT_STAT_ST_ATIM
|
||||
// #undef HAVE_STRUCT_STAT_ST_ATIMESPEC
|
@ -10,7 +10,7 @@
|
||||
#include <pthread.h>
|
||||
|
||||
/* Versioned symbols confuse the dynamic linker in uClibc */
|
||||
#ifndef __UCLIBC__
|
||||
#if !defined(__UCLIBC__) && !defined(__HAIKU__)
|
||||
#define FUSE_SYMVER(x) __asm__(x)
|
||||
#else
|
||||
#define FUSE_SYMVER(x)
|
||||
|
@ -214,7 +214,7 @@ static int process_opt(struct fuse_opt_context *ctx,
|
||||
if (call_proc(ctx, arg, opt->value, iso) == -1)
|
||||
return -1;
|
||||
} else {
|
||||
void *var = ctx->data + opt->offset;
|
||||
void *var = (char*)ctx->data + opt->offset;
|
||||
if (sep && opt->templ[sep + 1]) {
|
||||
const char *param = arg + sep;
|
||||
if (opt->templ[sep] == '=')
|
||||
|
Loading…
x
Reference in New Issue
Block a user