Skip to content

Commit

Permalink
Build AsmJit with Windows ABI on Cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
Hui Z committed Nov 9, 2015
1 parent 31c0b46 commit 1853bd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/asmjit/build.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@
#elif defined(__APPLE__)
# define ASMJIT_OS_POSIX
# define ASMJIT_OS_MAC
#elif defined(__CYGWIN__)
# define ASMJIT_OS_POSIX
# define ASMJIT_OS_CYGWIN
#else
# pragma message("AsmJit - Unable to detect host operating system, using ASMJIT_OS_POSIX.")
# define ASMJIT_OS_POSIX
Expand Down
2 changes: 1 addition & 1 deletion src/asmjit/x86/x86compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ enum {

#if defined(ASMJIT_ARCH_X64)
enum {
#if defined(ASMJIT_OS_WINDOWS)
#if defined(ASMJIT_OS_WINDOWS) || defined(ASMJIT_OS_CYGWIN)
kFuncConvHost = kX86FuncConvW64,
#else
kFuncConvHost = kX86FuncConvU64,
Expand Down

0 comments on commit 1853bd3

Please sign in to comment.