This commit is contained in:
Rachael Alexanderson 2018-03-13 09:39:40 -04:00
commit f8d2e4289f
8 changed files with 9 additions and 2 deletions

View file

@ -139,7 +139,7 @@ static int GetOSVersion()
if (sizeof(void*) == 4) // 32 bit
{
BOOL res;
if (IsWow64Process(GetCurrentProcess(), &res))
if (IsWow64Process(GetCurrentProcess(), &res) && res)
{
return 6;
}

View file

@ -45,6 +45,7 @@
#endif
#include <zlib.h>
#include "templates.h"
#include "m_alloc.h"
#include "m_argv.h"

View file

@ -34,6 +34,7 @@
**
*/
#include <zlib.h>
#include "resourcefile.h"
#include "cmdlib.h"
#include "w_wad.h"

View file

@ -37,6 +37,7 @@
#define RAPIDJSON_HAS_CXX11_RANGE_FOR 1
#define RAPIDJSON_PARSE_DEFAULT_FLAGS kParseFullPrecisionFlag
#include <zlib.h>
#include "rapidjson/rapidjson.h"
#include "rapidjson/writer.h"
#include "rapidjson/prettywriter.h"

View file

@ -45,6 +45,7 @@
#include <ctype.h>
#include <assert.h>
#include <stdio.h>
#include <zlib.h>
#include "i_musicinterns.h"
#include "doomtype.h"

View file

@ -20,6 +20,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <time.h>

View file

@ -24,6 +24,7 @@
*================================================================*/
#include <stdio.h>
#include <stdint.h>
#include "timidity.h"
#include "common.h"
#include "sflayer.h"
@ -95,4 +96,4 @@ const LayerItem static_layer_items[SF_EOF] = {
{L_OVWRT, T_NOCONV, 0, 127, -1}, /* rootKey */
};
}
}

View file

@ -30,6 +30,7 @@
#include "controls.h"
#include "mblock.h"
#include <stdint.h>
#ifdef _MSC_VER
#pragma warning(disable:4244) // double->float truncation occurs so often in here that it's pointless to fix it all.