3ac217e2cc
This removes all other Bazel test commands, so all tests can be again tested with `bazel test ...`. Also, fixes linux-arm64 glibc tests. Until now they've worked only in CI. Now they work everywhere I tried.
17 lines
413 B
C
17 lines
413 B
C
#include <stdio.h>
|
|
#include <windows.h>
|
|
|
|
int main() {
|
|
DWORD version = GetVersion();
|
|
DWORD majorVersion = (DWORD)(LOBYTE(LOWORD(version)));
|
|
DWORD minorVersion = (DWORD)(HIBYTE(LOWORD(version)));
|
|
|
|
DWORD build = 0;
|
|
if (version < 0x80000000) {
|
|
build = (DWORD)(HIWORD(version));
|
|
}
|
|
|
|
printf("Running Windows version %d.%d (%d).\n", majorVersion, minorVersion, build);
|
|
return 0;
|
|
}
|