Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Define PAL_CS_NATIVE_DATA_SIZE for FreeBSD x86_64
Browse files Browse the repository at this point in the history
Based on patch from @Aesthetikx which uses the program
[defined here](https://github.com/dotnet/coreclr/issues/60#issuecomment-73670124)
to determine the correct native size.
  • Loading branch information
josteink committed Mar 26, 2015
1 parent 7ede7fe commit a0970d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pal/inc/pal.h
Original file line number Diff line number Diff line change
Expand Up @@ -3050,6 +3050,8 @@ PAL_GetLogicalCpuCountFromOS();

#if defined(__FreeBSD__) && defined(_X86_)
#define PAL_CS_NATIVE_DATA_SIZE 12
#elif defined(__FreeBSD__) && defined(__x86_64__)
#define PAL_CS_NATIVE_DATA_SIZE 24
#elif defined(__sun__)
#define PAL_CS_NATIVE_DATA_SIZE 48
#elif defined(__hpux__) && (defined(__hppa__) || defined (__ia64__))
Expand Down

0 comments on commit a0970d0

Please sign in to comment.