d8add7cac4
- Add PGO option to enable Profile-Guided Optimization [1]. PR: ports/132231 [1] (based on) Submitted by: lioux@ [1] Thanks to: andreast@, Anonymous <swell.k AT gmail.com>, decke@, jsa@, swills@ and all the testers for their feedback!
12 lines
277 B
C++
12 lines
277 B
C++
--- js/src/jsnativestack.cpp~
|
|
+++ js/src/jsnativestack.cpp
|
|
@@ -50,7 +50,8 @@
|
|
#elif defined(XP_MACOSX) || defined(DARWIN) || defined(XP_UNIX)
|
|
# include <pthread.h>
|
|
|
|
-# if defined(__FreeBSD__)
|
|
+# if defined(FREEBSD)
|
|
+# include <cstddef>
|
|
# include <pthread_np.h>
|
|
# endif
|
|
|