1/* Licensed to the Apache Software Foundation (ASF) under one or more 2 * contributor license agreements. See the NOTICE file distributed with 3 * this work for additional information regarding copyright ownership. 4 * The ASF licenses this file to You under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 6 * the License. You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16#ifndef __pre_nw__ 17#define __pre_nw__ 18 19#include <stdint.h> 20 21#ifndef __GNUC__ 22#pragma precompile_target "precomp.mch" 23#endif 24 25#define NETWARE 26 27#define N_PLAT_NLM 28 29#define FAR 30#define far 31 32/* no-op for Codewarrior C compiler; a functions are cdecl 33 by default */ 34#define cdecl 35 36/* if we have wchar_t enabled in C++, predefine this type to avoid 37 a conflict in Novell's header files */ 38#ifndef __GNUC__ 39#ifndef DOXYGEN 40#if (__option(cplusplus) && __option(wchar_type)) 41#define _WCHAR_T 42#endif 43#endif 44#endif 45 46/* C9X defintion used by MSL C++ library */ 47#define DECIMAL_DIG 17 48 49/* some code may want to use the MS convention for long long */ 50#ifndef __int64 51#define __int64 long long 52#endif 53 54#endif 55 56 57 58