18c2ecf20Sopenharmony_ci/* BSDI osd_defs.h,v 1.4 1998/06/03 19:14:58 karels Exp */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 1996-1999 Distributed Processing Technology Corporation 48c2ecf20Sopenharmony_ci * All rights reserved. 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * Redistribution and use in source form, with or without modification, are 78c2ecf20Sopenharmony_ci * permitted provided that redistributions of source code must retain the 88c2ecf20Sopenharmony_ci * above copyright notice, this list of conditions and the following disclaimer. 98c2ecf20Sopenharmony_ci * 108c2ecf20Sopenharmony_ci * This software is provided `as is' by Distributed Processing Technology and 118c2ecf20Sopenharmony_ci * any express or implied warranties, including, but not limited to, the 128c2ecf20Sopenharmony_ci * implied warranties of merchantability and fitness for a particular purpose, 138c2ecf20Sopenharmony_ci * are disclaimed. In no event shall Distributed Processing Technology be 148c2ecf20Sopenharmony_ci * liable for any direct, indirect, incidental, special, exemplary or 158c2ecf20Sopenharmony_ci * consequential damages (including, but not limited to, procurement of 168c2ecf20Sopenharmony_ci * substitute goods or services; loss of use, data, or profits; or business 178c2ecf20Sopenharmony_ci * interruptions) however caused and on any theory of liability, whether in 188c2ecf20Sopenharmony_ci * contract, strict liability, or tort (including negligence or otherwise) 198c2ecf20Sopenharmony_ci * arising in any way out of the use of this driver software, even if advised 208c2ecf20Sopenharmony_ci * of the possibility of such damage. 218c2ecf20Sopenharmony_ci * 228c2ecf20Sopenharmony_ci */ 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci#ifndef _OSD_DEFS_H 258c2ecf20Sopenharmony_ci#define _OSD_DEFS_H 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci/*File - OSD_DEFS.H 288c2ecf20Sopenharmony_ci **************************************************************************** 298c2ecf20Sopenharmony_ci * 308c2ecf20Sopenharmony_ci *Description: 318c2ecf20Sopenharmony_ci * 328c2ecf20Sopenharmony_ci * This file contains the OS dependent defines. This file is included 338c2ecf20Sopenharmony_ci *in osd_util.h and provides the OS specific defines for that file. 348c2ecf20Sopenharmony_ci * 358c2ecf20Sopenharmony_ci *Copyright Distributed Processing Technology, Corp. 368c2ecf20Sopenharmony_ci * 140 Candace Dr. 378c2ecf20Sopenharmony_ci * Maitland, Fl. 32751 USA 388c2ecf20Sopenharmony_ci * Phone: (407) 830-5522 Fax: (407) 260-5366 398c2ecf20Sopenharmony_ci * All Rights Reserved 408c2ecf20Sopenharmony_ci * 418c2ecf20Sopenharmony_ci *Author: Doug Anderson 428c2ecf20Sopenharmony_ci *Date: 1/31/94 438c2ecf20Sopenharmony_ci * 448c2ecf20Sopenharmony_ci *Editors: 458c2ecf20Sopenharmony_ci * 468c2ecf20Sopenharmony_ci *Remarks: 478c2ecf20Sopenharmony_ci * 488c2ecf20Sopenharmony_ci * 498c2ecf20Sopenharmony_ci *****************************************************************************/ 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ci/*Definitions - Defines & Constants ----------------------------------------- */ 538c2ecf20Sopenharmony_ci 548c2ecf20Sopenharmony_ci /* Define the operating system */ 558c2ecf20Sopenharmony_ci#if (defined(__linux__)) 568c2ecf20Sopenharmony_ci# define _DPT_LINUX 578c2ecf20Sopenharmony_ci#elif (defined(__bsdi__)) 588c2ecf20Sopenharmony_ci# define _DPT_BSDI 598c2ecf20Sopenharmony_ci#elif (defined(__FreeBSD__)) 608c2ecf20Sopenharmony_ci# define _DPT_FREE_BSD 618c2ecf20Sopenharmony_ci#else 628c2ecf20Sopenharmony_ci# define _DPT_SCO 638c2ecf20Sopenharmony_ci#endif 648c2ecf20Sopenharmony_ci 658c2ecf20Sopenharmony_ci#if defined (ZIL_CURSES) 668c2ecf20Sopenharmony_ci#define _DPT_CURSES 678c2ecf20Sopenharmony_ci#else 688c2ecf20Sopenharmony_ci#define _DPT_MOTIF 698c2ecf20Sopenharmony_ci#endif 708c2ecf20Sopenharmony_ci 718c2ecf20Sopenharmony_ci /* Redefine 'far' to nothing - no far pointer type required in UNIX */ 728c2ecf20Sopenharmony_ci#define far 738c2ecf20Sopenharmony_ci 748c2ecf20Sopenharmony_ci /* Define the mutually exclusive semaphore type */ 758c2ecf20Sopenharmony_ci#define SEMAPHORE_T unsigned int * 768c2ecf20Sopenharmony_ci /* Define a handle to a DLL */ 778c2ecf20Sopenharmony_ci#define DLL_HANDLE_T unsigned int * 788c2ecf20Sopenharmony_ci 798c2ecf20Sopenharmony_ci#endif 80