gstinfo: remove random MSVC compatibility define for M_PI that doesn't belong here
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 5 Oct 2010 13:45:02 +0000 (14:45 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 5 Oct 2010 17:31:58 +0000 (18:31 +0100)
Code that needs this should include gst/math-compat.h or use G_PI.

docs/gst/gstreamer-sections.txt
gst/gstinfo.h

index 9cadb0d520f91c4b901d3a8f0f231eab70c0dfde..61adf213a8539a5cb6ff6373ccfd9a98ba880182 100644 (file)
@@ -1076,7 +1076,6 @@ GstDebugMessage
 gst_debug_color_flags_get_type
 gst_debug_level_get_type
 gst_debug_graph_details_get_type
-M_PI
 GST_CAT_LEVEL_LOG_valist
 </SECTION>
 
index c2f12ce9baaf830ce2ace6cc3168cd69e062af94..7c2d86f789cef23d7af896b2f40d27ffd9c23a29 100644 (file)
 #include <glib-object.h>
 #include <gst/gstconfig.h>
 
-#ifndef M_PI
-#define M_PI  3.14159265358979323846
-#endif
-
 G_BEGIN_DECLS
 
 /**