aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/WindowsEnv/ccall.h
blob: 541cd5e2960a75d76f6cd4759d60c32601d076be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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