Skip to content

Commit

Permalink
Allow HXCPP_CAPTURE_x86/HXCPP_CAPTURE_x64 on linux too. Closes #776
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugh Sanderson committed Apr 10, 2023
1 parent c9ee076 commit 7911493
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hx/gc/GcRegCapture.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
#include <setjmp.h>
#else

#if (defined(HX_WINDOWS) || defined(HX_MACOS)) && !defined(HXCPP_M64)
#if (defined(HX_WINDOWS) || defined(HX_MACOS) || (defined(HX_LINUX) && defined(__i386__))) && !defined(HXCPP_M64)
#define HXCPP_CAPTURE_x86
#endif

#if (defined(HX_MACOS) || (defined(HX_WINDOWS) && !defined(HX_WINRT)) || defined(_XBOX_ONE)) && defined(HXCPP_M64)
#if (defined(HX_MACOS) || (defined(HX_WINDOWS) && !defined(HX_WINRT)) || defined(_XBOX_ONE) || (defined(HX_LINUX) && defined(__x86_64__)) ) && defined(HXCPP_M64)
#define HXCPP_CAPTURE_x64
#endif

Expand Down

0 comments on commit 7911493

Please sign in to comment.