Commit ff8458c5 authored by unknown's avatar unknown
Browse files

Compile fixes for aix52-64bit.


include/my_bitmap.h:
  Protect incluce of my_pthread.h with #ifdef THREAD, to make it work in non-thread environment.
sql/rpl_tblmap.h:
  Remove unused NO_TABLE enum which broke compilation on picky compilers (trying to put ULONG_MAX into an int...)
parent bb1e8bd5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -17,7 +17,9 @@
#ifndef _my_bitmap_h_
#define _my_bitmap_h_

#ifdef THREAD
#include <my_pthread.h>
#endif

#define MY_BIT_NONE (~(uint) 0)

+0 −4
Original line number Diff line number Diff line
@@ -54,10 +54,6 @@ class table_mapping {

public:

  enum {
    NO_TABLE = ULONG_MAX
  };

  enum enum_error {
      ERR_NO_ERROR = 0,
      ERR_LIMIT_EXCEEDED,