~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_util.cc

  • Committer: Eric Day
  • Date: 2009-08-27 07:26:22 UTC
  • mto: This revision was merged to the branch mainline in revision 1131.
  • Revision ID: eday@oddments.org-20090827072622-72te13ua0wdlc2ky
Reworked listen interface to not require binding of TCP ports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
/* Utilities with are missing on some systems */
17
17
 
18
 
#include "mysys_priv.h"
 
18
#include "mysys/mysys_priv.h"
19
19
#ifdef __ZTC__
20
20
#include <dos.h>
21
21
#endif
35
35
 
36
36
void *  __CDECL halloc(long count,size_t length)
37
37
{
38
 
   return (void*) MK_FP(dos_alloc((uint) ((count*length+15) >> 4)),0);
 
38
   return (void*) MK_FP(dos_alloc((uint32_t) ((count*length+15) >> 4)),0);
39
39
}
40
40
 
41
41
void __CDECL hfree(void *ptr)