mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 10:53:14 +01:00
31 lines
672 B
C
31 lines
672 B
C
|
|
// Copyright (c) 1999-2002 by Digital Mars
|
|
// All Rights Reserved
|
|
// written by Walter Bright
|
|
// http://www.digitalmars.com
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
static char __file__[] = __FILE__; /* for tassert.h */
|
|
#include "tassert.h"
|
|
|
|
#include "mem.h"
|
|
#include "filespec.c"
|
|
|
|
#if 0
|
|
#define malloc ph_malloc
|
|
#define calloc(x,y) ph_calloc((x) * (y))
|
|
#define realloc ph_realloc
|
|
#define free ph_free
|
|
#endif
|
|
|
|
#if !MEM_DEBUG
|
|
#define MEM_NOMEMCOUNT 1
|
|
#define MEM_NONEW 1
|
|
#endif
|
|
#include "mem.c"
|
|
#include "list.c"
|
|
#include "vec.c"
|