1
0
Fork 0

Provide a better(?) solution to the windows GDI problem

This commit is contained in:
ehofman 2003-05-24 08:37:31 +00:00
parent 4974b3cc5a
commit 8ac87ab5e6
2 changed files with 7 additions and 4 deletions

View file

@ -43,10 +43,6 @@ SG_USING_STD(cout);
SG_USING_STD(endl); SG_USING_STD(endl);
// Make Cygwin and MSVC builds happy
#define NOGDI
LaRCsimIC::LaRCsimIC(void) { LaRCsimIC::LaRCsimIC(void) {
vt=vtg=vw=vc=ve=0; vt=vtg=vw=vc=ve=0;
mach=0; mach=0;

View file

@ -81,6 +81,13 @@ extern "C" {
typedef struct { typedef struct {
/*
* Needed for windows builds
*/
#ifdef ALpha
#undef Alpha
#endif
/*================== Mass properties and geometry values ==================*/ /*================== Mass properties and geometry values ==================*/
DATA mass, i_xx, i_yy, i_zz, i_xz; /* Inertias */ DATA mass, i_xx, i_yy, i_zz, i_xz; /* Inertias */