Dactyloidae/modules/fdlibm
athenian200 63e0d2e326 MoonchildProductions#1251 - Part 15: fdlibm should provide definition for u_int32_t and u_int64_t.
https://bugzilla.mozilla.org/show_bug.cgi?id=1350355

u_int32_t is not an stdint.h type. Windows already requires this, Solaris needs it too. If someone has a nit with this approach, the alternatives include:

1. Just replacing every instance of u_int32_t with uint32_t.

2. Including <sys/types.h> for Solaris only, which does define this.

3. Changing the original ifdef to be WIN32 || XP_SOLARIS

But it really doesn't matter how you solve this problem, all of the approaches are functionally equivalent, and this one has been used in Firefox since version 55. As far as I can tell, all it does is apply a fix that was being done for Windows already to any platform that needs it.
2019-11-04 11:52:36 +08:00
..
patches MoonchildProductions#1251 - Part 15: fdlibm should provide definition for u_int32_t and u_int64_t. 2019-11-04 11:52:36 +08:00
src MoonchildProductions#1251 - Part 15: fdlibm should provide definition for u_int32_t and u_int64_t. 2019-11-04 11:52:36 +08:00
import.sh import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
moz.build import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
README.mozilla import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
update.sh import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00

This is the fdlibm library imported from
https://github.com/freebsd/freebsd

Upstream code can be viewed at
  https://github.com/freebsd/freebsd/tree/master/lib/msun/src

Each file is downloaded separately, as cloning whole repository takes so much
resources.

The in-tree copy is updated by running
  sh update.sh
from within the modules/fdlibm directory.

Current version: [commit f2287da07ac7a26ac08745cac66eec82ab9ba384].

patches 01-14 fixes files to be usable within mozilla-central tree.
See https://bugzilla.mozilla.org/show_bug.cgi?id=933257