[Box Backup-dev] COMMIT r892 - box/chris/merge/lib/common

Ben Summers boxbackup-dev@fluffy.co.uk
Fri, 1 Sep 2006 10:34:38 +0100


On 1 Sep 2006, at 09:37, Chris Wilson wrote:

> Hi Ben,
>
> On Fri, 1 Sep 2006, Ben Summers wrote:
>
>> Wouldn't just returning 1 from those functions on Win32 be a  
>> better plan?
>>
>> Use #defines to replace them in the Win32 header files with that  
>> modified function if necessary.
>
> I was trying to get away from using broken stubs that pretend to  
> have done something useful, cf. getuid(), but I can do it that way  
> if you prefer.

I think it's preferable to lots of #ifdefs!

Ben