Skip to content

Commit

Permalink
Add DDR dummy header size_t strlen(const char *str)
Browse files Browse the repository at this point in the history
Fix DDR compilation error:
"../oti/VMHelpers.hpp", error: identifier "strlen" is
undefined.

Signed-off-by: Jason Feng <[email protected]>
  • Loading branch information
JasonFengJ9 committed Sep 12, 2023
1 parent dce0276 commit 84377ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions runtime/ddr/dummy_headers/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@
* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0 OR GPL-2.0-only WITH OpenJDK-assembly-exception-1.0
*******************************************************************************/


void * memmove ( void * destination, const void * source, size_t num );

void *memmove(void *destination, const void *source, size_t num);
size_t strlen(const char *str);

0 comments on commit 84377ed

Please sign in to comment.