X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=dive.h;h=58b6611f84e1f566e434bb623d627a6c489d2dce;hb=2101f37c1b81840beda99a7b4e87e938f9e52a7a;hp=92d358d0257de2524a7ed5ffe444b3455426e0ed;hpb=bf7d70fe8b9b8c2a1f6d381ae000cb0d91e36961;p=ext%2Fsubsurface.git diff --git a/dive.h b/dive.h index 92d358d..58b6611 100644 --- a/dive.h +++ b/dive.h @@ -187,6 +187,10 @@ struct dive { * the input and output may come in some random format. This * keeps track of those units. */ +/* turns out in Win32 PASCAL is defined as a calling convention */ +#ifdef WIN32 +#undef PASCAL +#endif struct units { enum { METERS, FEET } length; enum { LITER, CUFT } volume;