summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-10-28 18:46:53 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-10-28 18:46:53 -0700
commit2101f37c1b81840beda99a7b4e87e938f9e52a7a (patch)
tree068513f259d1197c4ce9c73fa496377379c1c9e0 /dive.h
parentbf7d70fe8b9b8c2a1f6d381ae000cb0d91e36961 (diff)
downloadsubsurface-2101f37c1b81840beda99a7b4e87e938f9e52a7a.tar.gz
Use Registry on Windows to store preferences
No change at all to non-Windows builds. Everything seems to work with preferences - but only tested on Win7 Remaining issue: displaying an icon (or the logo in the About dialog) Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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;