ICU-2030 WIndows build changes to allow apps to use static C runtime lib

X-SVN-Rev: 9402
This commit is contained in:
Andy Heninger 2002-07-29 21:29:23 +00:00
parent 68008dd5a2
commit 3c1dffb98a

View 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);
}