log4cplus
2.0.0
|
00001 // -*- C++ -*- 00002 // Module: Log4CPLUS 00003 // File: config-macosx.h 00004 // Created: 7/2003 00005 // Author: Christopher R. Bailey 00006 // 00007 // 00008 // Copyright 2003-2015 Christopher R. Bailey 00009 // 00010 // Licensed under the Apache License, Version 2.0 (the "License"); 00011 // you may not use this file except in compliance with the License. 00012 // You may obtain a copy of the License at 00013 // 00014 // http://www.apache.org/licenses/LICENSE-2.0 00015 // 00016 // Unless required by applicable law or agreed to in writing, software 00017 // distributed under the License is distributed on an "AS IS" BASIS, 00018 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00019 // See the License for the specific language governing permissions and 00020 // limitations under the License. 00021 00024 #ifndef LOG4CPLUS_CONFIG_MACOSX_HEADER_ 00025 #define LOG4CPLUS_CONFIG_MACOSX_HEADER_ 00026 00027 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE) 00028 #pragma once 00029 #endif 00030 00031 #if (defined(__APPLE__) || (defined(__MWERKS__) && defined(__MACOS__))) 00032 00033 #define LOG4CPLUS_HAVE_GETTIMEOFDAY 1 00034 #define socklen_t int 00035 00036 #endif // MACOSX 00037 #endif // LOG4CPLUS_CONFIG_MACOSX_HEADER_