Skip to content

Commit

Permalink
Win32: Checked compatibility with MSVC2010
Browse files Browse the repository at this point in the history
Also, fixed check for configuring a GCC build on Windows.
  • Loading branch information
skyjake committed Feb 10, 2012
1 parent 0fa6caa commit 3b3e283
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions doomsday/config.pri
Expand Up @@ -74,11 +74,11 @@ CONFIG(debug, debug|release) {
}

win32 {
win32-gcc* {
win32-g++* {
error("Sorry, gcc is not supported in the Windows build.")
}

DEFINES += WIN32 _CRT_SECURE_NO_WARNINGS
DEFINES += WIN32 _CRT_SECURE_NO_WARNINGS _USE_MATH_DEFINES

# Library location.
DENG_EXPORT_LIB = $$OUT_PWD/../engine/doomsday.lib
Expand Down
3 changes: 0 additions & 3 deletions doomsday/plugins/fmod/src/fmod_sfx.cpp
Expand Up @@ -24,9 +24,6 @@
#include "driver_fmod.h"
#include "dd_share.h"
#include <stdlib.h>
#ifdef WIN32
# define _USE_MATH_DEFINES
#endif
#include <cmath>
#include <vector>

Expand Down

0 comments on commit 3b3e283

Please sign in to comment.