Revert hack that broke things badly on Windows
Revert hack that broke things badly on Windows

This should fix bug #628952.

Don't include glib/gdatasetprivate.h directly. Especially don't define
GLIB_COMPILATION when doing that, as that causes breakage on Windows
because of the variable dllimport/dllexport stuff in gtypes.h that
checks GLIB_COMPILATION. That macro really should be defined only when
compiling code that goes into the libglib DLL. Otherwise the compiler
thinks that variables that should be imported from libglib are
actually defined in the code being compiled.

Just call g_atomic_pointer_get() as such, don't bother with
G_DATALIST_GET_FLAGS.

Signed-off-by: Tor Lillqvist <a9ff1a38c0d094d92725714af3aa7948469a0905@iki.fi>

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