Diffstat (limited to 'noncore/settings/aqpkg/mem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/mem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/mem.cpp b/noncore/settings/aqpkg/mem.cpp index 76ce35c..405aada 100644 --- a/noncore/settings/aqpkg/mem.cpp +++ b/noncore/settings/aqpkg/mem.cpp | |||
@@ -7,24 +7,25 @@ | |||
7 | ***************************************************************************/ | 7 | ***************************************************************************/ |
8 | 8 | ||
9 | /*************************************************************************** | 9 | /*************************************************************************** |
10 | * * | 10 | * * |
11 | * This program is free software; you can redistribute it and/or modify * | 11 | * This program is free software; you can redistribute it and/or modify * |
12 | * it under the terms of the GNU General Public License as published by * | 12 | * it under the terms of the GNU General Public License as published by * |
13 | * the Free Software Foundation; either version 2 of the License, or * | 13 | * the Free Software Foundation; either version 2 of the License, or * |
14 | * (at your option) any later version. * | 14 | * (at your option) any later version. * |
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | #include <stdio.h> | 17 | #include <stdio.h> |
18 | #include <fstream> | 18 | #include <fstream> |
19 | #include <iostream> | ||
19 | #include <list> | 20 | #include <list> |
20 | using namespace std; | 21 | using namespace std; |
21 | 22 | ||
22 | #define __MEMFILE_C | 23 | #define __MEMFILE_C |
23 | #include "global.h" | 24 | #include "global.h" |
24 | 25 | ||
25 | #ifdef _DEBUG | 26 | #ifdef _DEBUG |
26 | 27 | ||
27 | void __cdecl *operator new( unsigned int size, const char *file, int line ) | 28 | void __cdecl *operator new( unsigned int size, const char *file, int line ) |
28 | { | 29 | { |
29 | void *ptr = (void *)malloc(size); | 30 | void *ptr = (void *)malloc(size); |
30 | AddTrack((long)ptr, size, file, line); | 31 | AddTrack((long)ptr, size, file, line); |