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

📄 cansilib.h

📁 彩信MMS的全部代码
💻 H
字号:
/*
 * Copyright (C) Obigo AB, 2002-2005.
 * All rights reserved.
 *
 * This software is covered by the license agreement between
 * the end user and Obigo AB, and may be 
 * used and copied only in accordance with the terms of the 
 * said agreement.
 *
 * Obigo AB assumes no responsibility or 
 * liability for any errors or inaccuracies in this software, 
 * or any consequential, incidental or indirect damage arising
 * out of the use of the software.
 *
 */

/*! \file cansilib.h
 * \brief  Define the target device operating system. Win32 is the default.
 * Please read this file for other operating system. Note that only one (1) of 
 * these defines are allowed at the same time. If your OS is not listed 
 * below in this file  it can easily be added by modifying content in 
 * this file.
 */

#ifndef _cansilib_h
#define _cansilib_h

#define TRGT_WIN32
/*
#define TRGT_EPOC
#define TRGT_OSE
#define TRGT_PALM
#define TRGT_SDLM
#define TRGT_SEOS
#define TRGT_PSOS
#define TRGT_OS_9
#define TRGT_REX
#define TRGT_VXWORKS
#define _WIN32_WCE
*/

#ifdef TRGT_EPOC
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
#include <stdio.h>
#include <setjmp.h>

#elif defined TRGT_OSE
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <setjmp.h>

#elif defined TRGT_PALM
#include "au_stdlib.h"
#include "au_stdio.h"    
#include "au_string.h"
#include "au_setjmp.h"

#elif defined TRGT_SDLM
#include <stdlib.h>
#include <string.h>
#include <stdio.h>	
#include <setjmp.h>

#elif defined TRGT_SEOS
#include <stdlib.h>
#include <string.h>
#include <stdio.h>	
#include <setjmp.h>
	
#define srand(x) srand( (int)(x) )
#define malloc(x) malloc( (unsigned int)(x) )
#define memset(x, y ,z) memset(x, (char)(y), (int)(z))
#define memcpy(x, y, z) memcpy(x, y, (int)(z))
#define memcmp(x, y, z) memcmp(x, y, (int)(z))


#elif defined TRGT_PSOS
#include <stdlib.h>
#include <string.h>
#include <stdio.h>	
#include <setjmp.h>

#elif defined TRGT_OS_9
#include <stdlib.h>
#include <string.h>
#include <stdio.h>	
#include <setjmp.h>

#elif defined TRGT_REX
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <setjmp.h>

#elif defined TRGT_VXWORKS
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <setjmp.h>

#elif defined _WIN32_WCE
#include <stdlib.h>
#ifdef VOID
#undef VOID
#define DEFINE_VOID
#endif
#include <string.h>
#ifdef DEFINE_VOID
#undef DEFINE_VOID
#define VOID void
#endif
/* stdio.h does not exist in Windows CE */
int sprintf(char *,const char *, ...);
/* strtod does not exist in Windows CE */
double strtod(const char *, char **);
#include <setjmp.h>

#elif defined TRGT_WIN32
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <setjmp.h>

#endif

#endif /* _cansilib_h */

⌨️ 快捷键说明

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