]> git.tdb.fi Git - ext/subsurface.git/blobdiff - dive.h
Use Registry on Windows to store preferences
[ext/subsurface.git] / dive.h
diff --git a/dive.h b/dive.h
index 92d358d0257de2524a7ed5ffe444b3455426e0ed..58b6611f84e1f566e434bb623d627a6c489d2dce 100644 (file)
--- 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;