jbiport.h

来自「microwindows移植到S3C44B0的源码」· C头文件 代码 · 共 41 行

H
41
字号
/****************************************************************************/
/*																			*/
/*	Module:			jbiport.h												*/
/*																			*/
/*					Copyright (C) Altera Corporation 2000					*/
/*																			*/
/*	Description:	Defines porting macros									*/
/*																			*/
/****************************************************************************/

#ifndef INC_JBIPORT_H
#define INC_JBIPORT_H

/*
*	PORT defines the target platform -- should be DOS, WINDOWS, or UNIX
*
*	PORT = DOS     means a 16-bit DOS console-mode application
*
*	PORT = WINDOWS means a 32-bit WIN32 console-mode application for
*	               Windows 95 or Windows NT.  On NT this will use the
*	               DeviceIoControl() API to access the Parallel Port.
*
*	PORT = UNIX    means any UNIX system.  BitBlaster access is support via
*	               the standard ANSI system calls open(), read(), write().
*	               The ByteBlaster is not supported.
*
*	PORT = EMBEDDED means all DOS, WINDOWS, and UNIX code is excluded. Remaining
*			code supports 16 and 32-bit compilers. Additional porting
*			steps may be necessary. See readme file for more details.
*/

#define DOS      2
#define WINDOWS  3
#define UNIX     4
#define EMBEDDED 5

/* change this line to build a different port */
#define PORT UNIX

#endif /* INC_JBIPORT_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?