diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2011-10-28 18:46:53 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2011-10-28 18:46:53 -0700 |
commit | 2101f37c1b81840beda99a7b4e87e938f9e52a7a (patch) | |
tree | 068513f259d1197c4ce9c73fa496377379c1c9e0 /dive.h | |
parent | bf7d70fe8b9b8c2a1f6d381ae000cb0d91e36961 (diff) | |
download | subsurface-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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |