00001 // Module: Log4CPLUS 00002 // File: config-macosx.h 00003 // Created: 7/2003 00004 // Author: Christopher R. Bailey 00005 // 00006 // 00007 // Copyright (C) Tad E. Smith All rights reserved. 00008 // 00009 // This software is published under the terms of the Apache Software 00010 // License version 1.1, a copy of which has been included with this 00011 // distribution in the LICENSE.APL file. 00012 // 00013 00016 #ifndef LOG4CPLUS_CONFIG_MACOSX_HEADER_ 00017 #define LOG4CPLUS_CONFIG_MACOSX_HEADER_ 00018 00019 #if (defined(__APPLE__) || (defined(__MWERKS__) && defined(__MACOS__))) 00020 00021 #define HAVE_SSTREAM 1 00022 #define HAVE_GETTIMEOFDAY 1 00023 #define socklen_t int 00024 00025 #endif // MACOSX 00026 #endif // LOG4CPLUS_CONFIG_MACOSX_HEADER_