⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 includes.h

📁 8051的UCOS实时操作系统(源代码)
💻 H
字号:
/* $Id: includes.h,v 1.6 1997/07/16 13:41:50 gianpi Exp $
 *
 * Conditionalizations:
 *	__BORLANDC__
 *	_CC51
 */

#ifndef _INCLUDES_H_
#define _INCLUDES_H_

/*
***************************************************************
*                       INCLUDES.H
***************************************************************
*/

#include    <stdio.h>
#include    <string.h>
#include    <ctype.h>
#include    <stdlib.h>
#if defined(__BORLANDC__)
#include    <conio.h>
#include    <dos.h>
#endif	/* defined(__BORLANDC__) */

/* === Compatibility Mode === */
#if !defined(_CC51)
#define _data
#define	_large
#define _regparm
#define _rom
#define _xdat
#endif	/* !defined(_CC51) */

/* === Include Target-Dependent constants and definitions === */
#if defined(__BORLANDC__)	/* Borland C++ 3.1 */
#if defined(__SMALL__)
#include    "ix86s/ix86s.h"
#elif defined(__LARGE__)
#include    "ix86l/ix86l.h"
#else
#error Only small and large models are supported with BC31
#endif
#elif defined(_CC51)		/* BSO-Tasking CC51 v4.0r0 */
#if (_MODEL == 'l')
#include    "ucos51c.h"
#else
#error Only large model is supported with CC51
#endif
#else				/* all other brands */
#error	Must provide a target
#endif

/* === Include Target-Independent constants and definitions === */
#include    "ucos.h"

/* === Include Application specific constants and definitions === */
#include    "os_cfg.h"

#endif 	/* ndef _INCLUDES_H_ */

/* === End of File === */

⌨️ 快捷键说明

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