aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h
diff options
context:
space:
mode:
authorRobin Cornelius2010-10-10 15:48:32 +0100
committerRobin Cornelius2010-10-10 15:48:32 +0100
commitf001c10b78553fe3a59a2a71c223d094118bf8a8 (patch)
tree2eca1d683699e27f64629b8a3862895e016e1d23 /linden/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h
parentone more poke on trees+grass + fix the windlight water (diff)
downloadmeta-impy-f001c10b78553fe3a59a2a71c223d094118bf8a8.zip
meta-impy-f001c10b78553fe3a59a2a71c223d094118bf8a8.tar.gz
meta-impy-f001c10b78553fe3a59a2a71c223d094118bf8a8.tar.bz2
meta-impy-f001c10b78553fe3a59a2a71c223d094118bf8a8.tar.xz
Let the gstreamer plugin build on windows
Diffstat (limited to 'linden/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h')
-rwxr-xr-xlinden/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/linden/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h b/linden/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h
index f5da637..0ea096a 100755
--- a/linden/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h
+++ b/linden/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h
@@ -40,18 +40,29 @@
40 40
41extern "C" { 41extern "C" {
42#include <sys/types.h> 42#include <sys/types.h>
43#include <unistd.h> 43//#include <unistd.h> //fiuxme
44} 44}
45 45
46#define MSGMODULEFOO "(media plugin)"
47
48#ifdef LL_LINUX
46///////////////////////////////////////////////////////////////////////// 49/////////////////////////////////////////////////////////////////////////
47// Debug/Info/Warning macros. 50// Debug/Info/Warning macros.
48#define MSGMODULEFOO "(media plugin)" 51
49#define STDERRMSG(...) do{\ 52#define STDERRMSG(...) do{\
50 fprintf(stderr, " pid:%d: ", (int)getpid());\ 53 fprintf(stderr, " pid:%d: ", (int)getpid());\
51 fprintf(stderr, MSGMODULEFOO " %s:%d: ", __FUNCTION__, __LINE__);\ 54 fprintf(stderr, MSGMODULEFOO " %s:%d: ", __FUNCTION__, __LINE__);\
52 fprintf(stderr, __VA_ARGS__);\ 55 fprintf(stderr, __VA_ARGS__);\
53 fputc('\n',stderr);\ 56 fputc('\n',stderr);\
54 }while(0) 57 }while(0)
58#else
59#define STDERRMSG(...) do{\
60 fprintf(stderr, MSGMODULEFOO " %s:%d: ", __FUNCTION__, __LINE__);\
61 fprintf(stderr, __VA_ARGS__);\
62 fputc('\n',stderr);\
63 }while(0)
64#endif
65
55#define NULLMSG(...) do{}while(0) 66#define NULLMSG(...) do{}while(0)
56 67
57#define DEBUGMSG NULLMSG 68#define DEBUGMSG NULLMSG