ICU-2030 WIndows build changes to allow apps to use static C runtime lib
X-SVN-Rev: 9402
This commit is contained in:
parent
68008dd5a2
commit
3c1dffb98a
30
icu4c/source/common/cmemory.c
Normal file
30
icu4c/source/common/cmemory.c
Normal file
@ -0,0 +1,30 @@
|
||||
/*
|
||||
******************************************************************************
|
||||
*
|
||||
* Copyright (C) 2002, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*
|
||||
******************************************************************************
|
||||
*
|
||||
* File cmemory.c
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#include "unicode/utypes.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
U_CAPI void * U_EXPORT2
|
||||
uprv_malloc(size_t s) {
|
||||
return malloc(s);
|
||||
}
|
||||
|
||||
U_CAPI void * U_EXPORT2
|
||||
uprv_realloc(void * buffer, size_t size) {
|
||||
return realloc(buffer, size);
|
||||
}
|
||||
|
||||
U_CAPI void U_EXPORT2
|
||||
uprv_free(void *buffer) {
|
||||
free(buffer);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user