Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/teraterm/vtterm.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8383 by doda, Thu Nov 21 11:29:48 2019 UTC revision 8391 by zmatsuo, Thu Nov 21 15:00:01 2019 UTC
# Line 32  Line 32 
32  #include "tttypes.h"  #include "tttypes.h"
33  #include <stdio.h>  #include <stdio.h>
34  #include <string.h>  #include <string.h>
 #include <stdlib.h>  
35  #include <mbstring.h>  #include <mbstring.h>
36  #include <locale.h>  #include <locale.h>
37  #include <ctype.h>  #include <ctype.h>
38    #if !defined(_CRTDBG_MAP_ALLOC)
39    #define _CRTDBG_MAP_ALLOC
40    #endif
41    #include <stdlib.h>
42  #include <crtdbg.h>  #include <crtdbg.h>
43  #include <tchar.h>  #include <tchar.h>
44    
# Line 56  Line 59 
59    
60  #include "vtterm.h"  #include "vtterm.h"
61    
 #ifdef _DEBUG  
 #define malloc(l)     _malloc_dbg((l), _NORMAL_BLOCK, __FILE__, __LINE__)  
 #define realloc(p, l) _realloc_dbg((p), (l), _NORMAL_BLOCK, __FILE__, __LINE__)  
 #define free(p)       _free_dbg((p), _NORMAL_BLOCK)  
 #define strdup(s)         _strdup_dbg((s), _NORMAL_BLOCK, __FILE__, __LINE__)  
 #define _strdup(s)        _strdup_dbg((s), _NORMAL_BLOCK, __FILE__, __LINE__)  
 #endif  
   
62  void ParseFirst(BYTE b);  void ParseFirst(BYTE b);
63    
64  #define MAPSIZE(x) (sizeof(x)/sizeof((x)[0]))  #define MAPSIZE(x) (sizeof(x)/sizeof((x)[0]))

Legend:
Removed from v.8383  
changed lines
  Added in v.8391

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26