GNOME Bugzilla – Bug 602465
gst/dtmf/tone_detect.h incompatible with MSVC
Last modified: 2009-11-20 15:33:23 UTC
When compiling with MSVC, gst/dtmf/tone_detect.h is missing <stdint.h> and results in a compile error. It's also missing guards that prevent multiple inclusion.
Created attachment 148151 [details] [review] Fixes tone_detect.h
Created attachment 148152 [details] [review] Fixes tone_detect.c
Thank you, fixed in git: commit 33108dec82105624086cf77149c4b4b39ba7bc49 Author: Olivier Crête <olivier.crete@collabora.co.uk> Date: Thu Nov 19 20:33:07 2009 -0500 dtmf: Update dtmfdetect to make it MSVC friendly https://bugzilla.gnome.org/show_bug.cgi?id=602465
You should use the _stdint.h compatibility header generated by configure, as stdint.h is not available on all platforms: #include "_stdint.h" is the correct form.
Thanks, didn't know about that trick: commit 3865aadb653f84cec5a85e80daca48be75b9129b Author: Olivier Crête <tester@tester.ca> Date: Fri Nov 20 10:31:47 2009 -0500 dtmf: Use _stdint.h from configure https://bugzilla.gnome.org/show_bug.cgi?id=602465