diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-20 13:28:54 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-20 13:28:54 (GMT) |
commit | 572e5146f8a88894c86c4652add4d4134779ff60 (patch) | |
tree | 5d6a5a4042a7e1432fcc52c6ddf88ee94e369b23 /Source/CursesDialog/cmCursesStandardIncludes.h | |
parent | da17f30cb515775000ec7dd1d3fab8b3621c2587 (diff) | |
download | CMake-572e5146f8a88894c86c4652add4d4134779ff60.zip CMake-572e5146f8a88894c86c4652add4d4134779ff60.tar.gz CMake-572e5146f8a88894c86c4652add4d4134779ff60.tar.bz2 |
define hacks and such for the dec compiler
Diffstat (limited to 'Source/CursesDialog/cmCursesStandardIncludes.h')
-rw-r--r-- | Source/CursesDialog/cmCursesStandardIncludes.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/CursesDialog/cmCursesStandardIncludes.h b/Source/CursesDialog/cmCursesStandardIncludes.h index b932d16..d993a60 100644 --- a/Source/CursesDialog/cmCursesStandardIncludes.h +++ b/Source/CursesDialog/cmCursesStandardIncludes.h @@ -1,3 +1,5 @@ +#ifndef cmCursesStandardIncludes_h +#define cmCursesStandardIncludes_h #if defined(__sun__) && defined(__GNUC__) #define _MSE_INT_H #endif @@ -19,3 +21,16 @@ #endif +// on some machines move erase and clear conflict with stl +// so remove them from the namespace +inline void curses_move(unsigned int x, unsigned int y) +{ + move(x,y); +} + +#undef move +#undef erase +#undef clear + + +#endif // cmCursesStandardIncludes_h |