/* ETAK Inc. Nov 1988 */ /* #ident "@(#)include.h 1.2 :/tmp_mnt/vol/consrc/geocode/s.include.h 1/5/94 13:13:05" */ /***************************************************************************** * * * Copyright (C) 1987 by ETAK, Inc. * * All Rights Reserved * * * *****************************************************************************/ #ifndef include__h #define include__h #ifdef NAV #include "condflgs.h" #endif #ifdef TRAVELPILOT_CONFIGURATION #define NAVIGATOR_CONFIGURATION #endif #ifdef NAVIGATOR_CONFIGURATION #ifndef PROTOTYPES #define PROTOTYPES #endif #ifndef BUS_LISTING_INSTALLED #define OMIT_BLS #endif #define NO_FLOATING_PT #define NI_OMITTED #define TP_OMITTED #define TP_KLUDGE #define DOS #define ANG_DIST #define NO_REVERSE_GEOCODING #define PARSER_OMITTED #define DATA_BUFFER_SIZE 5000 #define CHAIN_LIST_SIZE 100 #define __FAR__ far #endif #ifdef __BORLANDC__ #define DATA_BUFFER_SIZE 5000 #endif #define CHAIN_LIST_SIZE 100 #ifdef ADVANCE_PROJECT #define OMIT_STREET #define PARSER_OMITTED #endif #ifdef THINK_C #define MAC #endif #ifdef macintosh #define MAC #ifdef OMIT_STREET #pragma segment BusList #else #ifndef MPW_SEGMENT #pragma segment georead #else #if MPW_SEGMENT > 2 #pragma segment georead3 #else #pragma segment georead2 #endif #endif #endif #endif #ifdef MAC #ifndef PROTOTYPES #define PROTOTYPES #endif #endif /* MAC */ #ifndef DLL #ifndef NAVIGATOR_CONFIGURATION #ifndef ADVANCE_PROJECT #define malloc_far(A) etak_alloc (A) #define free_far(A) etak_free (A) void * etak_alloc( #ifdef PROTOTYPES size_t #endif ); void etak_free( #ifdef PROTOTYPES void * #endif ); #else #define malloc_far(A) etak_malloc (A) #define free_far(A) etak_free (A) #endif #define strlen_far(A) strlen((A)) #define strncmp_far(A,B,C) strncmp((A),(B),(C)) #define strncpy_far(A,B,C) strncpy((A),(B),(C)) #define strcmp_far(A,B) strcmp((A),(B)) #define strcpy_far(A,B) strcpy((A),(B)) #define memcmp_far(A,B,C) memcmp((A),(B),(C)) #define memcpy_far(A,B,C) memcpy((A),(B),(C)) #define memset_far(A,B,C) memset((A),(B),(C)) #endif #else #include #define malloc_far(A) etak_alloc (A) #define free_far(A) etak_free (A) #define strlen_far(A) strlen((A)) #define strncmp_far(A,B,C) strncmp((A),(B),(C)) #define strncpy_far(A,B,C) strncpy((A),(B),(C)) #define strcmp_far(A,B) strcmp((A),(B)) #define strcpy_far(A,B) strcpy((A),(B)) #define memcmp_far(A,B,C) memcmp((A),(B),(C)) #define memcpy_far(A,B,C) memcpy((A),(B),(C)) #define memset_far(A,B,C) memset((A),(B),(C)) void * etak_alloc( size_t ); void etak_free( void * ); #endif #endif /* include__h */