From: Daniel Frett Date: Tue, 15 Feb 2011 16:56:16 +0000 (-0500) Subject: not having a supported threads model shouldn't be fatal, fallback to non-threaded... X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=142a91e9e1630e18d0a53561b03820a4e128c4ba;p=perl-fuse.git not having a supported threads model shouldn't be fatal, fallback to non-threaded mode instead --- diff --git a/Fuse.xs b/Fuse.xs index 3a86099..285d1de 100755 --- a/Fuse.xs +++ b/Fuse.xs @@ -10,7 +10,7 @@ # ifdef I_PTHREAD # define FUSE_USE_ITHREADS # else -# error "Sorry, I don't know how to handle ithreads on this architecture." +# warning "Sorry, I don't know how to handle ithreads on this architecture. Building non-threaded version" # endif #endif @@ -997,8 +997,8 @@ perl_fuse_main(...) MUTEX_INIT(&MY_CXT.mutex); #else fprintf(stderr,"FUSE warning: Your script has requested multithreaded " - "mode, but your perl was not built with -Dusethreads. " - "Threads are disabled.\n"); + "mode, but your perl was not built with a supported " + "thread model. Threads are disabled.\n"); MY_CXT.threaded = 0; #endif }