- Shut up GCC aggressive optimizer warnings.

From what I can see, GCC would miscompile the involved loops, because the index variable is 'signed int' and the multiplication with an unsigned would cause signed overflow (undefined behavior). Change the index variable type to 'unsigned int' to expect unsigned overflow (conformant to standard).
Merge pull request #1 from rheit/master

Sync with zdoom trunk
- fix x64 visual studio linking for common controls
- A_FireCustomMissile transfer tranlsation flag, code submission by jpalomo
Merge branch 'master' of https://github.com/binarycrusader/zdoom
Merge branch 'master' of https://github.com/rheit/zdoom
- Enable 'language' feature on unix targets.

The sdl version of the function 'SetLanguageIDs' is very limited, comparing to the win32 counterpart, as it will try to accept only the language codes (ie 'enu', 'fr', 'ptb', etc). If a different string is provided, zdoom will default its language to English.
update lzma to v9.22 beta
Merge branch 'master' of https://github.com/rheit/zdoom
Fix LZMA compilation on GCC with position-independent code (PIC) generation enabled

EBX register is used Global Offset Table in PIC
http://www.greyhat.ch/lab/downloads/pic.html
Merge branch 'language_sdl' of https://github.com/edward-san/zdoom
- Simplify CMake GCC and Clang checking.

Introduce the variable 'ZD_CMAKE_COMPILER_IS_GNUC(XX)_COMPATIBLE' and replace any occurrence of '"${CMAKE_C(XX)_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_C(XX)_COMPILER_ID}" STREQUAL "Clang"' with it. This makes it possible to add more GCC compatible compilers in just one place.
fixed compilation with latest LZMA SDK on Windows.

LZMA SDK recently added an #include <windows.h> to its headers, meaning it's no longer safe to include its headers globally in platform independent files.
The following changes were necessary:

- rename DWORD type in zipdir.c
- add USE_WINDOWS_DWORD and reorder includes in file_7z.cpp
- wrap LZMA decoder stream into a local struct that's declared anonymously in files.h and adjust files.cpp for this change.
Merge branch 'master' of https://github.com/rheit/zdoom
- Using USE_WINDOWS_DWORD on other platforms can cause problems.
Merge branch 'edward-san-cmake_gcc_compatible'
Merge branch 'gcc_aggressive_optimization' of github.com:edward-san/zdoom into edward-san-gcc_agressive_optimization
Merge branch 'master' of https://github.com/rheit/zdoom

Conflicts:
	src/CMakeLists.txt
- Fixed edward-san's typo.
- Cleared a warning.
Use byte swapping functions from <libkern/OSByteOrder.h> on OS X

Remove inclusion of Core Foundation headers to avoid type conflicts with LZMA SDK.