SBjsiInternal.h
上传用户:xqtpzdz
上传日期:2022-05-21
资源大小:1764k
文件大小:2k
源码类别:

xml/soap/webservice

开发平台:

Visual C++

  1. /*****************************************************************************
  2.  *****************************************************************************
  3.  *
  4.  * SBjsiInternal.h, compiler/platform specific definitions
  5.  *
  6.  * This header is used to include standard compiler/platform specific
  7.  * definitions, this is included by all SBjsi source files.
  8.  *
  9.  *****************************************************************************
  10.  ****************************************************************************/
  11. /****************License************************************************
  12.  * Vocalocity OpenVXI
  13.  * Copyright (C) 2004-2005 by Vocalocity, Inc. All Rights Reserved.
  14.  * This program is free software; you can redistribute it and/or
  15.  * modify it under the terms of the GNU General Public License
  16.  * as published by the Free Software Foundation; either version 2
  17.  * of the License, or (at your option) any later version.
  18.  *  
  19.  * This program is distributed in the hope that it will be useful,
  20.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  21.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  22.  * GNU General Public License for more details.
  23.  *
  24.  * You should have received a copy of the GNU General Public License
  25.  * along with this program; if not, write to the Free Software
  26.  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  27.  * Vocalocity, the Vocalocity logo, and VocalOS are trademarks or 
  28.  * registered trademarks of Vocalocity, Inc. 
  29.  * OpenVXI is a trademark of Scansoft, Inc. and used under license 
  30.  * by Vocalocity.
  31.  ***********************************************************************/
  32. #ifndef _SBjsi_INTERNAL_H__
  33. #define _SBjsi_INTERNAL_H__
  34. #ifndef NULL
  35. #ifdef  __cplusplus
  36. #define NULL    0
  37. #else
  38. #define NULL    ((void *)0)
  39. #endif
  40. #endif
  41. #ifdef WIN32
  42. #define wcsncasecmp(s1,s2,n) _wcsnicmp(s1,s2,n)
  43. #define wcscasecmp(s1,s2) _wcsicmp(s1,s2)
  44. #define strcasecmp(a,b) _stricmp(a,b)
  45. #endif
  46. #ifdef __cplusplus
  47. namespace std { };
  48. using namespace std;
  49. #ifdef _MSC_VER           /* Microsoft Visual C++ */
  50. /* Suppress/disable warnings triggered by STL headers */
  51. #pragma warning(4 : 4786) /* identifier was truncated to '255' 
  52.      characters in the debug information */
  53. #endif
  54. #endif /* __cplusplus */
  55. #endif /* _SBjsi_INTERNAL_H__ */