Skip to content

Commit

Permalink
Merge pull request #2143 from mitza-oci/ace6-macos-long-double
Browse files Browse the repository at this point in the history
[ACE6] macOS: sizeof long double is different on ARM64
  • Loading branch information
mitza-oci authored Oct 6, 2023
2 parents 3a598e5 + c63f996 commit 76bffb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
8 changes: 1 addition & 7 deletions ACE/ace/config-macosx-leopard.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,7 @@
#endif /* ! __ACE_INLINE__ */

#if !defined (ACE_SIZEOF_LONG_DOUBLE)
# if (__GNUC__ == 3 && __GNUC_MINOR__ == 3)
// Size of long double in GCC 3.3 is 8.
# define ACE_SIZEOF_LONG_DOUBLE 8
# else // Else, the compiler is GCC4
// For GCC4, the size is 16.
# define ACE_SIZEOF_LONG_DOUBLE 16
# endif // GCC 3.3
# define ACE_SIZEOF_LONG_DOUBLE __SIZEOF_LONG_DOUBLE__
#endif // ACE_SIZEOF_LONG_DOUBLE

#if defined (__GNUG__)
Expand Down
8 changes: 1 addition & 7 deletions ACE/ace/config-macosx-tiger.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,7 @@
#endif /* ! __ACE_INLINE__ */

#if !defined (ACE_SIZEOF_LONG_DOUBLE)
# if (__GNUC__ == 3 && __GNUC_MINOR__ == 3)
// Size of long double in GCC 3.3 is 8.
# define ACE_SIZEOF_LONG_DOUBLE 8
# else // Else, the compiler is GCC4
// For GCC4, the size is 16.
# define ACE_SIZEOF_LONG_DOUBLE 16
# endif // GCC 3.3
# define ACE_SIZEOF_LONG_DOUBLE __SIZEOF_LONG_DOUBLE__
#endif // ACE_SIZEOF_LONG_DOUBLE

#if defined (__GNUG__)
Expand Down

0 comments on commit 76bffb4

Please sign in to comment.