Changeset 6 for trunk/src/shared
- Timestamp:
- 11/19/08 13:22:12 (17 years ago)
- Location:
- trunk/src/shared
- Files:
-
- 6 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shared/Common.h
r2 r6 20 20 #define MANGOSSERVER_COMMON_H 21 21 22 // config.h needs to be included 1st 23 // TODO this thingy looks like hack ,but its not, need to 24 // make separate header however, because It makes mess here. 25 #ifdef HAVE_CONFIG_H 26 // Remove Some things that we will define 27 // This is in case including another config.h 28 // before trinity config.h 29 #ifdef PACKAGE 30 #undef PACKAGE 31 #endif //PACKAGE 32 #ifdef PACKAGE_BUGREPORT 33 #undef PACKAGE_BUGREPORT 34 #endif //PACKAGE_BUGREPORT 35 #ifdef PACKAGE_NAME 36 #undef PACKAGE_NAME 37 #endif //PACKAGE_NAME 38 #ifdef PACKAGE_STRING 39 #undef PACKAGE_STRING 40 #endif //PACKAGE_STRING 41 #ifdef PACKAGE_TARNAME 42 #undef PACKAGE_TARNAME 43 #endif //PACKAGE_TARNAME 44 #ifdef PACKAGE_VERSION 45 #undef PACKAGE_VERSION 46 #endif //PACKAGE_VERSION 47 #ifdef VERSION 48 #undef VERSION 49 #endif //VERSION 50 # include "config.h" 51 #undef PACKAGE 52 #undef PACKAGE_BUGREPORT 53 #undef PACKAGE_NAME 54 #undef PACKAGE_STRING 55 #undef PACKAGE_TARNAME 56 #undef PACKAGE_VERSION 57 #undef VERSION 58 #endif //HAVE_CONFIG_H 59 22 60 #include "Platform/Define.h" 23 61 … … 43 81 #endif // __SHOW_STUPID_WARNINGS__ 44 82 #endif // __GNUC__ 45 46 #ifdef HAVE_CONFIG_H47 # include <config.h>48 #endif49 83 50 84 #include "Utilities/HashMap.h" … … 77 111 78 112 #if PLATFORM == PLATFORM_WINDOWS 79 # define FD_SETSIZE 102480 # include < winsock2.h>113 # define FD_SETSIZE 4096 114 # include <ace/config-all.h> 81 115 // XP winver - needed to compile with standard leak check in MemoryLeaks.h 82 116 // uncomment later if needed -
trunk/src/shared/Database/DBCStructure.h
r2 r6 596 596 uint32 TargetCreatureType; // 15 597 597 uint32 RequiresSpellFocus; // 16 598 //uint32 FacingCasterFlags; // 17 not used598 uint32 FacingCasterFlags; // 17 599 599 uint32 CasterAuraState; // 18 600 600 uint32 TargetAuraState; // 19 -
trunk/src/shared/Database/DBCfmt.cpp
r2 r6 61 61 const char SpellCastTimefmt[]="nixx"; 62 62 const char SpellDurationfmt[]="niii"; 63 const char SpellEntryfmt[]="nixiiiiiiiixiiiii xiiiiiiiiiiiiiiiiiiiiiiifxiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiffffffiiiiiiiiiiiiiiiiiiiiifffiiiiiiiiiiiiiiifffixiixssssssssssssssssxssssssssssssssssxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxiiiiiiiiiixfffxxxiiii";63 const char SpellEntryfmt[]="nixiiiiiiiixiiiiiiiiiiiiiiiiiiiiiiiiiiiiifxiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiffffffiiiiiiiiiiiiiiiiiiiiifffiiiiiiiiiiiiiiifffixiixssssssssssssssssxssssssssssssssssxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxiiiiiiiiiixfffxxxiiii"; 64 64 const char SpellFocusObjectfmt[]="nxxxxxxxxxxxxxxxxx"; 65 65 const char SpellItemEnchantmentfmt[]="niiiiiixxxiiissssssssssssssssxiiii"; -
trunk/src/shared/Database/DatabaseEnv.h
r2 r6 35 35 #define _LIKE_ "ILIKE" 36 36 #define _TABLE_SIM_ "\"" 37 #define _CONCAT3_(A,B,C) "( " A " || " B " || " C " )" 37 38 #else 38 39 #include "Database/QueryResultMysql.h" … … 44 45 #define _LIKE_ "LIKE" 45 46 #define _TABLE_SIM_ "`" 47 #define _CONCAT3_(A,B,C) "CONCAT( " A " , " B " , " C " )" 46 48 #endif 47 49 -
trunk/src/shared/Makefile.am
r2 r6 31 31 $(POSTGRE_INCLUDES) \ 32 32 -I$(top_srcdir)/dep/include \ 33 -I$(top_srcdir)/dep/ACE_wrappers \ 34 -I$(top_builddir)/dep/ACE_wrappers \ 33 35 -I$(top_srcdir)/src/framework 34 36 -
trunk/src/shared/Timer.h
r2 r6 23 23 24 24 #if PLATFORM == PLATFORM_WINDOWS 25 # include < windows.h>25 # include <ace/config-all.h> 26 26 # include <mmsystem.h> 27 27 # include <time.h>