~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_util.cc

  • Committer: Brian Aker
  • Date: 2009-10-01 22:56:26 UTC
  • mto: (1154.1.1 staging)
  • mto: This revision was merged to the branch mainline in revision 1155.
  • Revision ID: brian@gaz-20091001225626-sb1pdykpxlnkheaj
Remove Factory/make scheduler work like everything else.

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)