Skip to content

Commit

Permalink
Add platform 0.7.40: FreeBSD 64-bit x86-64
Browse files Browse the repository at this point in the history
  • Loading branch information
earl committed Nov 7, 2014
1 parent 65d0b18 commit bf237fc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/boot/platforms.r
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Windows [1 win32-x86 2 dec-alpha 3 win32-x64]
Linux [1 libc5-x86 2 libc6-2-3-x86 3 libc6-2-5-x86 4 libc6-2-11-x86 10 libc6-ppc 20 libc6-arm 21 bionic-arm 30 libc6-mips 40 libc-x64]
Haiku [75 x86-32]
BSDi [1 x86]
FreeBSD [1 x86 2 elf-x86]
FreeBSD [1 x86 2 elf-x86 40 elf-x64]
NetBSD [1 x86 2 ppc 3 m68k 4 dec-alpha 5 sparc]
OpenBSD [1 x86 2 ppc 3 m68k 4 elf-x86 5 sparc]
Sun [1 sparc]
Expand Down
8 changes: 8 additions & 0 deletions src/include/reb-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,14 @@ These are now obsolete (as of A107) and should be removed:
#define HAS_LL_CONSTS
#endif

#ifdef TO_FREEBSD_X64 // FreeBSD/AMD64
#define ENDIAN_LITTLE
#define HAS_LL_CONSTS
#ifndef __LP64__
#define __LP64__
#endif
#endif

#ifdef TO_OPENBSD
#define ENDIAN_LITTLE
#define HAS_LL_CONSTS
Expand Down
1 change: 1 addition & 0 deletions src/tools/systems.r
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ systems: [
[0.4.40 "linux_x64" posix [+O2 HID LDL ST1 -LM]]
[0.5.75 "haiku" posix [+O2 ST1 NWK]]
[0.7.02 "freebsd" posix [+O1 C++ ST1 -LM]]
[0.7.40 "freebsd_x64" posix [+O1 ST1 -LM]]
[0.9.04 "openbsd" posix [+O1 C++ ST1 -LM]]
[0.13.01 "android_arm" android [HID F64 LDL LLOG -LM CST]]
]
Expand Down

0 comments on commit bf237fc

Please sign in to comment.