Commit f36c4a93 authored by unknown's avatar unknown

workaround for sun compiler on sol9x86

parent 0fc34660
...@@ -83,14 +83,14 @@ class TC_LOG_DUMMY: public TC_LOG // use it to disable the logging ...@@ -83,14 +83,14 @@ class TC_LOG_DUMMY: public TC_LOG // use it to disable the logging
#ifdef HAVE_MMAP #ifdef HAVE_MMAP
class TC_LOG_MMAP: public TC_LOG class TC_LOG_MMAP: public TC_LOG
{ {
private: public: // only to keep Sun Forte on sol9x86 happy
typedef enum { typedef enum {
POOL, // page is in pool POOL, // page is in pool
ERROR, // last sync failed ERROR, // last sync failed
DIRTY // new xids added since last sync DIRTY // new xids added since last sync
} PAGE_STATE; } PAGE_STATE;
private:
typedef struct st_page { typedef struct st_page {
struct st_page *next; // page a linked in a fifo queue struct st_page *next; // page a linked in a fifo queue
my_xid *start, *end; // usable area of a page my_xid *start, *end; // usable area of a page
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment