[sane-devel] OS/2 version of Sane
Henning Meier-Geinitz
henning at meier-geinitz.de
Thu Nov 22 20:57:54 GMT 2001
Hi,
On Thu, Nov 22, 2001 at 10:12:33AM +0100, Paul Floyd wrote:
> 1. configure failed to detect syslog. Had to edit include/sane/config.h
Do you have any idea why this happens? Maybe we can fix configure.in.
> 3. snapscan is not supported on OS/2 (USB code uses headers that are not
> available).
snapscan isn't compiled at all if ipc/semphore headers aren't found.
At least that's the intention.
> My fix for this is to do something like
>
> #ifdef OS2
> #include "snapscan-usb-stubs.c"
> #else
> #include "snapscan-usb.c"
> #endif
>
> where the 'stubs' version doesn't include the offending header file, but it does
> have empty function bodies to keep the linker happy.
To the snapscan developers: can this be implemented? Or something
similar, e.g. #ifdefing everything that uses ipc.h and sem.h? Is
sem.h/ipc.h needed at all?
Bye,
Henning
More information about the sane-devel
mailing list