diff options
author | Eike Rathke <er@openoffice.org> | 2001-02-28 10:51:17 +0000 |
---|---|---|
committer | Eike Rathke <er@openoffice.org> | 2001-02-28 10:51:17 +0000 |
commit | e513cbb261e7820037705a57921d187625c5a98e (patch) | |
tree | e61c59c8fc8da61a7850e00fb4389d7201f96e69 /sc/inc/token.hxx | |
parent | b245b158277e30bdee3dc0e9ef466dc4835ca0a3 (diff) |
for PRODUCT version save memory: typedef BYTE StackVar
Diffstat (limited to 'sc/inc/token.hxx')
-rw-r--r-- | sc/inc/token.hxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx index 481a6f63e2fe..2ba504609645 100644 --- a/sc/inc/token.hxx +++ b/sc/inc/token.hxx @@ -2,9 +2,9 @@ * * $RCSfile: token.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: er $ $Date: 2001-02-22 15:19:58 $ + * last change: $Author: er $ $Date: 2001-02-28 11:51:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -73,7 +73,7 @@ #endif -enum StackVar +enum StackVarEnum { svByte, svDouble, @@ -89,6 +89,14 @@ enum StackVar svErr // unknown StackType }; +#ifdef PRODUCT +// save memory since compilers tend to int an enum +typedef BYTE StackVar; +#else +// have enum names in debugger +typedef StackVarEnum StackVar; +#endif + class ScMatrix; |