diff options
| author | Saikari <[email protected]> | 2026-02-06 14:51:24 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-06 14:51:24 +0300 |
| commit | 12d3bbcb05dd4393da1ec472c9e1ad135afa3e20 (patch) | |
| tree | 21b56ca2e072beb538bbc131cac4ba40ae38fb35 | |
| parent | 1fe6d3c21b1d861ab5d80c617869b80ac363f451 (diff) | |
Refactor main.c to remove preprocessor conditionals
| -rw-r--r-- | tests/projects/windows/windows_links/src/main.c | 5 |
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;
}
+
|
