platform.h

来自「ESS3890+SL原代码(1*16内存)」· C头文件 代码 · 共 150 行

H
150
字号
/* Copyright 2000, ESS Technology, Inc.                                 *//* SCCSID @(#)platform.h	1.2 01/22/02 *//* Based on DVD/SVCD version 1.2 12/01/00 *//* $Id$ *//* * $Log$ */#ifndef PLATFORM_H#define PLATFORM_H/*// #define USE_WATCOM_DOS32// #define USE_NUCLEUS*/#ifdef EMBEDDED_SYSTEM    #include <stdio.h>    #include <string.h>#ifndef WIN32    #include <ctype.h>#endif#endif/*// #define USE_NUCLEUS*/#ifdef USE_NUCLEUS__NO	/* #include "nucleus.h" */	#include <stdlib.h>	#include <io.h>	#include <string.h>	#include <stdio.h>	#include <math.h>	#include <time.h>	#include <ctype.h>#endif#ifdef LUX	#include   "../include/memmap.h"	#define dbg_printf printf	#define dprintf printf#endif#ifdef III_MTDOS	#define NO_FILE_SYSTEM	#define DOSNAME_8_3	#include <string.h>	#include <math.h>	#include <time.h>	#include <dos.h>	#define dbg_printf dprintf	#define DrawStatus dprintf	#define sdk_strlen strlen	#define sdk_strcpy strcpy 	#if	USEMTIO		/* set to zero to also use functions from other lib */	#include <mtio.h>	#include <mtstdio.h>	#else	#include <stdlib.h>	#include <io.h>	#include <stdio.h>	#endif#endif#ifdef USE_WATCOM_DOS32	#define WATCOM_DOS32 1	#define USE_METAGRAPHICS	#define ATI_PORT	#define NO_FILE_SYSTEM	#include <string.h>	#include <math.h>	#include <time.h>	#include <stdio.h>	#include "metawndo.h"      /* master MetaWINDOW include file */#endif#ifdef USE_WINCE_ENREACH	#define WINCE_ENREACH	#define huge	#define far	#include <winbase.h>	#include <tchar.h>	#include <stdlib.h>	#include <string.h>	#include <math.h>#endif#ifdef WIN32	#define huge	#define far	#include <stdio.h>	#include <string.h>	#include <math.h>	#include <time.h>#endif#ifdef VESTEL	#include <time.h>#endif#if defined(TRIMEDIA) || defined(LSI)	#include <time.h>	#ifdef LSI		#define dbg_printf Print	#else		#define dbg_printf	printf	#endif#endif#if defined(BROADCOM_PSOS)/*	#include <time.h>	#define dbg_printf	Print	#define dprintf printf*/#endif#ifdef WIN31_ENREACH	#include <windows.h>#endif#ifdef OPENTV	#include "otvmacros.h"#endif#ifdef EMBEDDED_SYSTEM    #define NO_FILE_SYSTEM    #include "xfilesys.h"#endif#ifdef DOSNAME_8_3	#include "sdk_co~1.h"#else	#include "sdk_comn.h"#endif#if !defined(WIN32) || !defined(_cplusplus)	#include "stdafx.h"#endif#endif /* WIN32DEF_H */

⌨️ 快捷键说明

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