summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 92d358d02..58b6611f8 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;