1 // Module:  Log4CPLUS
 2 // File:    config-macosx.h
 3 // Created: 7/2003
 4 // Author:  Christopher R. Bailey
 5 //
 6 //
 7 // Copyright (C) Tad E. Smith  All rights reserved.
 8 //
 9 // This software is published under the terms of the Apache Software
10 // License version 1.1, a copy of which has been included with this
11 // distribution in the LICENSE.APL file.
12 //
13 
14 /** @file */
15 
16 #ifndef LOG4CPLUS_CONFIG_MACOSX_HEADER_
17 #define LOG4CPLUS_CONFIG_MACOSX_HEADER_
18 
19 #if (defined(__APPLE__) || (defined(__MWERKS__) && defined(__MACOS__)))
20 
21 #define HAVE_SSTREAM 1
22 #define HAVE_GETTIMEOFDAY 1
23 #define socklen_t int
24 
25 #endif // MACOSX
26 #endif // LOG4CPLUS_CONFIG_MACOSX_HEADER_


syntax highlighted by Code2HTML, v. 0.9.1