Blame os/netware/pre_nw.h

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