_p.h

来自「对Oracle数据库OCI的一个轻量级封装」· C头文件 代码 · 共 62 行

H
62
字号
// OraLib 0.0.3 / 2002-06-30
//	_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

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

// STD C headers
#include <assert.h>
#include <ctype.h>
#include <fcntl.h>
#include <io.h>
#include <math.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <tchar.h>
#include <time.h>

#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

⌨️ 快捷键说明

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