Make g_ascii_strtod behave as documented
Make g_ascii_strtod behave as documented

The docs explicitly state that we reset errno, so lets do that,
even if we just wrap strtod_l. Also move the argument check
out of the ifdef.

https://bugzilla.gnome.org/show_bug.cgi?id=662398

pstglia/platform-external-bluetooth-glib,justinkb/aosp-bluez.glib,antono/glib,tamaskenez/glib,antono/glib,pstglia/external-bluetooth-glib,iConsole/Console-OS_external_bluetooth_glib,krichter722/glib,Distrotech/glib,Distrotech/glib,mzabaluev/glib,bluez-android/glib,justinkb/aosp-bluez.glib,krichter722/glib,mzabaluev/glib,bluez-android/glib,cosimoc/glib,djdeath/glib,lukasz-skalski/glib,tamaskenez/glib,johne53/MB3Glib,ieei/glib,djdeath/glib,gale320/glib,endlessm/glib,endlessm/glib,cention-sany/glib,MathieuDuponchelle/glib,MathieuDuponchelle/glib,tchakabam/glib,cosimoc/glib,justinkb/aosp-bluez.glib,pstglia/platform-external-bluetooth-glib,ieei/glib,bluez-android/glib,tchakabam/glib,darren-clark/android_platform_external_bluetooth_glib,johne53/MB3Glib,MathieuDuponchelle/glib,krichter722/glib,mzabaluev/glib,mzabaluev/glib,johne53/MB3Glib,Distrotech/glib,darren-clark/android_platform_external_bluetooth_glib,pstglia/external-bluetooth-glib,bluez-android/glib,johne53/MB3Glib,iConsole/Console-OS_external_bluetooth_glib,gale320/glib,01org/android-bluez-glib,tamaskenez/glib,endlessm/glib,cention-sany/glib,Distrotech/glib,lukasz-skalski/glib,darren-clark/android_platform_external_bluetooth_glib,darren-clark/android_platform_external_bluetooth_glib,gale320/glib,pstglia/external-bluetooth-glib,gale320/glib,pstglia/platform-external-bluetooth-glib,tchakabam/glib,lukasz-skalski/glib,lukasz-skalski/glib,pstglia/platform-external-bluetooth-glib,tamaskenez/glib,iConsole/Console-OS_external_bluetooth_glib,MathieuDuponchelle/glib,antono/glib,bluez-android/glib,cention-sany/glib,djdeath/glib,endlessm/glib,mzabaluev/glib,djdeath/glib,01org/android-bluez-glib,tchakabam/glib,pstglia/platform-external-bluetooth-glib,cosimoc/glib,iConsole/Console-OS_external_bluetooth_glib,01org/android-bluez-glib,johne53/MB3Glib,krichter722/glib,ieei/glib,iConsole/Console-OS_external_bluetooth_glib,01org/android-bluez-glib,cosimoc/glib,tamaskenez/glib,01org/android-bluez-glib,Distrotech/glib,justinkb/aosp-bluez.glib,krichter722/glib,lukasz-skalski/glib,MathieuDuponchelle/glib,endlessm/glib,justinkb/aosp-bluez.glib,cention-sany/glib,johne53/MB3Glib,ieei/glib,pstglia/external-bluetooth-glib,gale320/glib,darren-clark/android_platform_external_bluetooth_glib,tchakabam/glib,djdeath/glib,cention-sany/glib,cosimoc/glib,pstglia/external-bluetooth-glib,antono/glib,ieei/glib