~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/base64.cc

  • Committer: Monty Taylor
  • Date: 2008-11-07 00:35:38 UTC
  • mto: (575.1.8 devel)
  • mto: This revision was merged to the branch mainline in revision 579.
  • Revision ID: monty@inaugust.com-20081107003538-x48mj66gkbrdjcuc
Made mysys and mystrings c++. Fixed the resulting bugs the compiler found.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
 
16
#include <drizzled/global.h>
 
17
#include CMATH_H
16
18
#include <mystrings/m_string.h>  /* strchr() */
17
19
#include <mystrings/m_ctype.h>  /* my_isspace() */
18
20
#include <mysys/base64.h>
19
21
 
 
22
#if defined(CMATH_NAMESPACE)
 
23
using namespace CMATH_NAMESPACE;
 
24
#endif
 
25
 
20
26
#ifndef MAIN
21
27
 
22
28
static char base64_table[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"