This reduces the amount of platform ifdefs.
Showing the changes to codec/decoder/core/src/mem_align.cpp (1 of 4 files). Show all
Unified · Split
| @@ -53,8 +53,8 @@ void_t* WelsMalloc (const uint32_t kuiSize, const str_t* kpTag) { · 52 unmodified lines | |||
| 53 | 53 | ||
| 54 | #ifdef MEMORY_CHECK | 54 | #ifdef MEMORY_CHECK |
| 55 | if (pMemCheckMalloc == NULL) { | 55 | if (pMemCheckMalloc == NULL) { |
| 56 | pMemCheckMalloc = WelsFopen (".\\mem_check_malloc.txt", "at+"); | 56 | pMemCheckMalloc = WelsFopen ("mem_check_malloc.txt", "at+"); |
| 57 | pMemCheckFree = WelsFopen (".\\mem_check_free.txt", "at+"); | 57 | pMemCheckFree = WelsFopen ("mem_check_free.txt", "at+"); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | if (kpTag != NULL) { | 60 | if (kpTag != NULL) { |