StdAfx.h
资源名称:p2p_vod.rar [点击查看]
上传用户:liguizhu
上传日期:2015-11-01
资源大小:2422k
文件大小:2k
源码类别:
P2P编程
开发平台:
Visual C++
- /*
- * Openmysee
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- */
- // stdafx.h : include file for standard system include files,
- // or project specific include files that are used frequently, but
- // are changed infrequently
- //
- #if !defined(AFX_STDAFX_H__F15F9ABC_081D_4A59_9707_AD6D1D0E2B56__INCLUDED_)
- #define AFX_STDAFX_H__F15F9ABC_081D_4A59_9707_AD6D1D0E2B56__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #pragma warning(disable: 4786)
- #pragma warning(disable: 4995)
- // Insert your headers here
- #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
- #include <windows.h>
- #include <winsock2.h>
- #include <streams.h>
- #include <string>
- #include <list>
- #include <vector>
- #include <fstream>
- #include <strstream>
- #include <map>
- #include <algorithm>
- #include <ASSERT.H>
- #include <tchar.h>
- #include <stdio.h>
- #include <time.h>
- //#define GENERATE_SMALL_ZZL
- #include "Struct.h"
- #include "Error.h"
- #include "Protocol.h"
- using namespace std;
- #ifndef SAFE_DELETE
- #define SAFE_DELETE( x)
- if( NULL != x )
- {
- delete x;
- x = NULL;
- }
- #endif
- #ifndef SAFE_ARRAYDELETE
- #define SAFE_ARRAYDELETE( x )
- if( NULL != x )
- {
- delete [] x;
- x = NULL;
- }
- #endif
- // TODO: reference additional headers your program requires here
- #include "DebugTrace.h"
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_STDAFX_H__F15F9ABC_081D_4A59_9707_AD6D1D0E2B56__INCLUDED_)