On Tue, 12 Apr 2011 at 09:33:25 +1000, Brian May wrote: > Am thinking the best solution might be to wrap the entire ntlm_service > function with the same #if __APPLE__ ... #endif, as that appears to be the > only reference to ntlm_service, and I think the static definition means it > can't be referenced externally. That's what I'd do. If it still compiles, then it's correct :-) S