diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-26 03:45:39 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-26 03:45:39 +0300 |
commit | 202e1a58d5228e4efd6bafbe7b755d7bd192f516 (patch) | |
tree | d23d9b3d219eecdf48ee8f81415043e6fd5232ed /src/WindowsEnv/ccall.h | |
parent | rename directories (diff) | |
download | windows-env-202e1a58d5228e4efd6bafbe7b755d7bd192f516.tar.gz windows-env-202e1a58d5228e4efd6bafbe7b755d7bd192f516.zip |
fix x86 builds
Diffstat (limited to '')
-rw-r--r-- | src/WindowsEnv/ccall.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/WindowsEnv/ccall.h b/src/WindowsEnv/ccall.h new file mode 100644 index 0000000..541cd5e --- /dev/null +++ b/src/WindowsEnv/ccall.h @@ -0,0 +1,13 @@ +#ifndef WINDOWS_ENV_CCALL_H +#define WINDOWS_ENV_CCALL_H + +#if defined(i386_HOST_ARCH) +#define WINDOWS_ENV_CCALL stdcall +#elif defined(x86_64_HOST_ARCH) +#define WINDOWS_ENV_CCALL ccall +#else +#define WINDOWS_ENV_CCALL ccall +#warning "Unsupported architecture" +#endif + +#endif |