Skip to content
Permalink
Browse files
Minor Windows build fixes
Reviewed-by: mcimadamore
  • Loading branch information
JornVernee committed May 7, 2021
1 parent d0a7098 commit 9472dff21fbf41cca7e934d28019891b3d8f6131
Showing with 12 additions and 46 deletions.
  1. +11 −1 test/jdk/java/foreign/libStdLibTest.c
  2. +0 −44 test/jdk/java/foreign/libStdLibTest.h
  3. +1 −1 test/micro/org/openjdk/bench/jdk/incubator/foreign/libStrLen.c
@@ -21,7 +21,17 @@
* questions.
*/

#include "libStdLibTest.h"
#ifdef _WIN64
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#endif

#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

EXPORT char *libc_strcat(char *str1, const char *str2) {
return strcat(str1, str2);

This file was deleted.

@@ -49,5 +49,5 @@ EXPORT void* malloc_raw(size_t size) {
}

EXPORT void free_raw(void* ptr) {
return free(ptr);
free(ptr);
}

0 comments on commit 9472dff

Please sign in to comment.