summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/projects/windows/windows_links/src/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/projects/windows/windows_links/src/main.c b/tests/projects/windows/windows_links/src/main.c
index 8f9578202..bc94c3f13 100644
--- a/tests/projects/windows/windows_links/src/main.c
+++ b/tests/projects/windows/windows_links/src/main.c
@@ -2,11 +2,7 @@
#include <psapi.h>
#include <stdio.h>
-#ifdef _WIN32
__declspec(dllimport) void foo();
-#else
-void foo();
-#endif
int main() {
PROCESS_MEMORY_COUNTERS pmc;
@@ -22,3 +18,4 @@ int main() {
printf("Done.\n");
return 0;
}
+