*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)

*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
This commit is contained in:
maximius
2009-10-17 15:35:07 -07:00
parent f21f47005d
commit 26b5e033ff
2257 changed files with 750 additions and 103852 deletions
-16
View File
@@ -14,47 +14,36 @@
* @author Darrell Brunsch <[email protected]>
*/
//=============================================================================
#ifndef ACE_CONFIG_WIN32_H
#define ACE_CONFIG_WIN32_H
#include /**/ "ace/pre.h"
// by derex ,I include the win32 specific header here,
// this violates the idea of this file a bit ;)
#define ACE_HAS_REACTOR_NOTIFICATION_QUEUE
// Max amount of connections for non-epoll platforms
#ifndef FD_SETSIZE
#define FD_SETSIZE 4096
#endif
//disable some deprecate warnings on windows
#ifndef _CRT_NONSTDC_NO_WARNINGS
#define _CRT_NONSTDC_NO_WARNINGS
#endif
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#endif
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
#endif
#ifndef _CRT_NONSTDC_NO_DEPRECATE
#define _CRT_NONSTDC_NO_DEPRECATE
#endif
#ifndef _WINDOWS
#define _WINDOWS
#endif
// end custom config stuff
// NOTE: Please do not add anything besides #include's here. Put other stuff
// (definitions, etc.) in the included headers
// We need to ensure that for Borland vcl.h can be included before
// windows.h. So we will not include config-win32-common.h from here,
// but instead let it be included at the appropriate place in
@@ -62,7 +51,6 @@
#if !defined (__BORLANDC__)
# include "ace/config-win32-common.h"
#endif /* !__BORLANDC__ */
// Include the config-win32-* file specific to the compiler
#if defined (__BORLANDC__)
# include "ace/config-win32-borland.h"
@@ -77,18 +65,14 @@
#else
# error Compiler is not supported
#endif
// gethostbyaddr does not handle IPv6-mapped-IPv4 addresses
#define ACE_HAS_BROKEN_GETHOSTBYADDR_V4MAPPED
// TODO remove this at some point when we add ACE::init and ACE::fini
// by derex
#ifdef ACE_HAS_NONSTATIC_OBJECT_MANAGER
#undef ACE_HAS_NONSTATIC_OBJECT_MANAGER
#endif //ACE_HAS_NONSTATIC_OBJECT_MANAGER
#include /**/ "ace/post.h"
#endif /* ACE_CONFIG_WIN32_H */