No issue - Various updates for Mac buildability with XCode 16.3
This commit is contained in:
1 parent
804b9c1855
commit
3767366e59
3 files changed
+3
-22
No files matched your search
@@ -117,7 +117,7 @@ class ExclusiveData
|
||||
}
|
||||
|
||||
ExclusiveData(ExclusiveData&& rhs) :
|
||||
lock_(mozilla::Move(rhs.lock))
|
||||
lock_(mozilla::Move(rhs.lock()))
|
||||
{
|
||||
MOZ_ASSERT(&rhs != this, "self-move disallowed!");
|
||||
new (value_.addr()) T(mozilla::Move(*rhs.value_.addr()));
|
||||
|
||||
+2
-12
@@ -483,18 +483,8 @@
|
||||
*/
|
||||
# include <float.h>
|
||||
|
||||
# if (defined(__MWERKS__) && defined(macintosh)) || defined(applec) || \
|
||||
defined(THINK_C) || defined(__SC__) || defined(TARGET_OS_MAC)
|
||||
/* We need to check that <math.h> hasn't already been included earlier
|
||||
* as it seems it doesn't agree with <fp.h>, yet we should really use
|
||||
* <fp.h> if possible.
|
||||
*/
|
||||
# if !defined(__MATH_H__) && !defined(__MATH_H) && !defined(__cmath__)
|
||||
# include <fp.h>
|
||||
# endif
|
||||
# else
|
||||
# include <math.h>
|
||||
# endif
|
||||
# include <math.h>
|
||||
|
||||
# if defined(_AMIGA) && defined(__SASC) && defined(_M68881)
|
||||
/* Amiga SAS/C: We must include builtin FPU functions when compiling using
|
||||
* MATH=68881
|
||||
|
||||
@@ -132,15 +132,6 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
|
||||
|
||||
#if defined(MACOS) || defined(TARGET_OS_MAC)
|
||||
# define OS_CODE 7
|
||||
# ifndef Z_SOLO
|
||||
# if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
|
||||
# include <unix.h> /* for fdopen */
|
||||
# else
|
||||
# ifndef fdopen
|
||||
# define fdopen(fd,mode) NULL /* No fdopen() */
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef __acorn
|
||||
|
||||
Reference in new issue
Block a user