_p.h

来自「本代码基于OCI」· C头文件 代码 · 共 71 行

H
71
字号
// OraLib 0.0.4 / 2002-07-28
//	_p.h (precompiled header)
//
//	http://606u.dir.bg/
//	606u@dir.bg

#if	defined (_MSC_VER) // Microsoft Visual C++
#	define	_CRTDBG_MAP_ALLOC
#endif

// disable following Microsoft Visual C++ warnings
// (most of them will appear in release mode only)
#if defined (_MSC_VER)
#	pragma warning (disable: 4786) // id truncated to '255' chars in the browser info
#	pragma warning (disable: 4290) // C++ exception specification ignored
#	pragma warning (disable: 4710) // function 'xxx' not inlined
#endif

// STD C headers
#include <cstdio>
#include <ctime>
#include <cassert>
#include <cctype>
#include <cmath>
#include <tchar.h>

#if	defined (_WIN32) // Windows platform
#	include <windows.h>
#endif

#if defined (_MSC_VER) // Microsoft Visual C++
#	include <crtdbg.h>
#endif

// STL headers
#include <iostream>
#include <map>
#include <string>
#include <vector>

#ifndef	ASSERT
#	define	ASSERT	assert
#endif

// Oracle headers
#ifndef	__STDC__
#	define	__STDC__	1
#	include <oci.h>
#	undef	__STDC__
#else
#	include <oci.h>
#endif

// debug memory tracking
#if	defined (_MSC_VER) && defined (_DEBUG)
#	define	new	new (_NORMAL_BLOCK, __FILE__, __LINE__)
#endif


// vsnprintf is used in error.cpp
#if	defined (_MSC_VER)
// Microsoft Visual C++ 6.0
#	define	VSNPRINTF	vsnprintf
#elif defined (_MINGW)
// MinGW
#	define	VSNPRINTF	_vsnprintf
#else
// Borland C++ 5.5 (free command-line tools)
#	define	VSNPRINTF	std::vsnprintf
#endif

⌨️ 快捷键说明

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