diff options
author | click <none@none> | 2010-08-16 09:51:37 +0200 |
---|---|---|
committer | click <none@none> | 2010-08-16 09:51:37 +0200 |
commit | b4bef54b7a6be1b25d670c3f630b1c4370da7757 (patch) | |
tree | 8cd73603c83a6de93ebb57160a3a7ac5c26359aa /src/server/shared/SystemConfig.h | |
parent | ced726264653bed9a41a7725465a9292786dafc4 (diff) |
Fix Windows-build (YES, IT COMPILES!) - partial revert of revision a9386a2655
- Use minihack on ACE to avoid using config.h on Windows platforms
- Put include-locations for ACE in AFTER everything else (for later use)
An insane thanks to paradox for being patient with testing changes and swapouts
--HG--
branch : trunk
Diffstat (limited to 'src/server/shared/SystemConfig.h')
-rw-r--r-- | src/server/shared/SystemConfig.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/server/shared/SystemConfig.h b/src/server/shared/SystemConfig.h new file mode 100644 index 00000000000..e7ad68fe380 --- /dev/null +++ b/src/server/shared/SystemConfig.h @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> + * + * Copyright (C) 2008-2010 Trinity <http://www.trinitycore.org/> + * + * + * 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 + */ + +// THIS FILE IS DEPRECATED + +#ifndef TRINITY_SYSTEMCONFIG_H +#define TRINITY_SYSTEMCONFIG_H + +#include "Define.h" +#include "revision.h" + +#define _PACKAGENAME "TrinityCore " +#define _CODENAME "LONG_COLD_WINTER" + +#if TRINITY_ENDIAN == TRINITY_BIGENDIAN +# define _ENDIAN_STRING "big-endian" +#else +# define _ENDIAN_STRING "little-endian" +#endif + +#if PLATFORM == PLATFORM_WINDOWS +# ifdef _WIN64 +# define _FULLVERSION _PACKAGENAME "Rev: " _REVISION " " _BUILD_DIRECTIVE " Hash: " _HASH " (Win64," _ENDIAN_STRING ")" +# else +# define _FULLVERSION _PACKAGENAME "Rev: " _REVISION " " _BUILD_DIRECTIVE " Hash: " _HASH " (Win32," _ENDIAN_STRING ")" +# endif +#else +# define _FULLVERSION _PACKAGENAME "Rev: " _REVISION " " _BUILD_DIRECTIVE " Hash: " _HASH " (Unix," _ENDIAN_STRING ")" +#endif +#endif + |