SVN commit 1062388 by adridg: Having enum values which are all-caps invites confusion with preprocessor defines. On Solaris, ERR is defined (in sys/regset.h) to 13, which is very weird, but also annoying. Just work around it. M +4 -0 memory.h M +4 -0 patsolve.cpp --- trunk/KDE/kdegames/kpat/patsolve/memory.h #1062387:1062388 @@ -51,6 +51,10 @@ short depth; }; +#ifdef ERR +#undef ERR +#endif + class MemoryManager { public: --- trunk/KDE/kdegames/kpat/patsolve/patsolve.cpp #1062387:1062388 @@ -30,6 +30,10 @@ #include +#ifdef ERR +#undef ERR +#endif + long all_moves = 0; /* This is a 32 bit FNV hash. For more information, see