Provide a better(?) solution to the windows GDI problem
This commit is contained in:
parent
4974b3cc5a
commit
8ac87ab5e6
2 changed files with 7 additions and 4 deletions
|
@ -43,10 +43,6 @@ SG_USING_STD(cout);
|
|||
SG_USING_STD(endl);
|
||||
|
||||
|
||||
// Make Cygwin and MSVC builds happy
|
||||
#define NOGDI
|
||||
|
||||
|
||||
LaRCsimIC::LaRCsimIC(void) {
|
||||
vt=vtg=vw=vc=ve=0;
|
||||
mach=0;
|
||||
|
|
|
@ -81,6 +81,13 @@ extern "C" {
|
|||
|
||||
typedef struct {
|
||||
|
||||
/*
|
||||
* Needed for windows builds
|
||||
*/
|
||||
#ifdef ALpha
|
||||
#undef Alpha
|
||||
#endif
|
||||
|
||||
/*================== Mass properties and geometry values ==================*/
|
||||
|
||||
DATA mass, i_xx, i_yy, i_zz, i_xz; /* Inertias */
|
||||
|
|
Loading…
Add table
Reference in a new issue