842ae4bd224140319ae7feec1872b93dfd491143fielding/* Licensed to the Apache Software Foundation (ASF) under one or more
842ae4bd224140319ae7feec1872b93dfd491143fielding * contributor license agreements. See the NOTICE file distributed with
842ae4bd224140319ae7feec1872b93dfd491143fielding * this work for additional information regarding copyright ownership.
842ae4bd224140319ae7feec1872b93dfd491143fielding * The ASF licenses this file to You under the Apache License, Version 2.0
842ae4bd224140319ae7feec1872b93dfd491143fielding * (the "License"); you may not use this file except in compliance with
842ae4bd224140319ae7feec1872b93dfd491143fielding * the License. You may obtain a copy of the License at
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd *
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * http://www.apache.org/licenses/LICENSE-2.0
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd *
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * Unless required by applicable law or agreed to in writing, software
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * distributed under the License is distributed on an "AS IS" BASIS,
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * See the License for the specific language governing permissions and
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * limitations under the License.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd */
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh/**
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * @file pre_nw.h
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * @brief Definitions for Netware systems
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh *
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * @addtogroup APACHE_OS_NETWARE
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * @{
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh */
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#ifndef __pre_nw__
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define __pre_nw__
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
352a60e331c378f64b756b8dbef266527997e014bnicholes#include <stdint.h>
352a60e331c378f64b756b8dbef266527997e014bnicholes
352a60e331c378f64b756b8dbef266527997e014bnicholes#ifndef __GNUC__
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#pragma precompile_target "precomp.mch"
352a60e331c378f64b756b8dbef266527997e014bnicholes#endif
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
352a60e331c378f64b756b8dbef266527997e014bnicholes#define NETWARE
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define N_PLAT_NLM
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes/* hint for MSL C++ that we're on NetWare platform */
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define __NETWARE__
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
742318b93e89c311f66b55f426c4d9cf2c14628bjim/* the FAR keyword has no meaning in a 32-bit environment
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes but is used in the SDK headers so we take it out */
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define FAR
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define far
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
742318b93e89c311f66b55f426c4d9cf2c14628bjim/* no-op for Codewarrior C compiler; a functions are cdecl
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes by default */
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define cdecl
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes/* if we have wchar_t enabled in C++, predefine this type to avoid
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes a conflict in Novell's header files */
352a60e331c378f64b756b8dbef266527997e014bnicholes#ifndef __GNUC__
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#if (__option(cplusplus) && __option(wchar_type))
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define _WCHAR_T
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#endif
352a60e331c378f64b756b8dbef266527997e014bnicholes#endif
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes/* C9X defintion used by MSL C++ library */
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define DECIMAL_DIG 17
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes/* some code may want to use the MS convention for long long */
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#ifndef __int64
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define __int64 long long
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#endif
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
834bb31f533a475cb9ee0f079af10eba1f63f336bnicholes/* Restrict the number of nested includes */
834bb31f533a475cb9ee0f079af10eba1f63f336bnicholes#define AP_MAX_INCLUDE_DEPTH 48
834bb31f533a475cb9ee0f079af10eba1f63f336bnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#endif
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh/** @} */