Skip to content

Commit

Permalink
Fix MSVC builds
Browse files Browse the repository at this point in the history
  • Loading branch information
buginator committed Oct 17, 2010
1 parent f894586 commit a11d607
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 4 additions & 0 deletions lib/framework/trig.c
Expand Up @@ -33,6 +33,10 @@

#include <assert.h>
#include <stdlib.h>
// for M_PI
#if defined(WZ_CC_MSVC)
#define _USE_MATH_DEFINES
#endif

#include <math.h>

Expand Down
8 changes: 2 additions & 6 deletions win32/Warzone2100.vcproj
Expand Up @@ -359,10 +359,6 @@
RelativePath="..\src\feature.c"
>
</File>
<File
RelativePath="..\src\formation.c"
>
</File>
<File
RelativePath="..\src\fpath.c"
>
Expand Down Expand Up @@ -1171,11 +1167,11 @@
>
</File>
<File
RelativePath="..\src\scriptvals_parser.tab.h"
RelativePath=".\scriptvals_parser.tab.h"
>
</File>
<File
RelativePath=".\scriptvals_parser.tab.h"
RelativePath="..\src\scriptvals_parser.tab.h"
>
</File>
<File
Expand Down

0 comments on commit a11d607

Please sign in to comment.