[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-patches
Subject:    [Mono-patches] r135100 - trunk/moon/src
From:       "Jeff Stedfast" <mono-patches-list () lists ! ximian ! com>
Date:       2009-05-31 18:58:54
Message-ID: 20090531185854.207E59472C () mono-cvs ! ximian ! com
[Download RAW message or body]

Author: fejj
Date: 2009-05-31 14:58:53 -0400 (Sun, 31 May 2009)
New Revision: 135100

Modified:
   trunk/moon/src/applier.cpp
   trunk/moon/src/audio-alsa.cpp
   trunk/moon/src/audio-pulse.cpp
   trunk/moon/src/audio.cpp
   trunk/moon/src/bitmapimage.cpp
   trunk/moon/src/bitmapsource.cpp
   trunk/moon/src/border.cpp
   trunk/moon/src/brush.cpp
   trunk/moon/src/canvas.cpp
   trunk/moon/src/uielement.cpp
Log:
wrap #include <config.h> with ifdef HAVE_CONFIG_H

Modified: trunk/moon/src/applier.cpp
===================================================================
--- trunk/moon/src/applier.cpp	2009-05-31 18:20:07 UTC (rev 135099)
+++ trunk/moon/src/applier.cpp	2009-05-31 18:58:53 UTC (rev 135100)
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 /*
  * Contact:
  *   Moonlight List (moonlight-list@lists.ximian.com)

Modified: trunk/moon/src/audio-alsa.cpp
===================================================================
--- trunk/moon/src/audio-alsa.cpp	2009-05-31 18:20:07 UTC (rev 135099)
+++ trunk/moon/src/audio-alsa.cpp	2009-05-31 18:58:53 UTC (rev 135100)
@@ -10,7 +10,9 @@
  * See the LICENSE file included with the distribution for details.
  */
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
 
 #include <dlfcn.h>
 

Modified: trunk/moon/src/audio-pulse.cpp
===================================================================
--- trunk/moon/src/audio-pulse.cpp	2009-05-31 18:20:07 UTC (rev 135099)
+++ trunk/moon/src/audio-pulse.cpp	2009-05-31 18:58:53 UTC (rev 135100)
@@ -10,7 +10,9 @@
  * See the LICENSE file included with the distribution for details.
  */
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
 
 #include <dlfcn.h>
 

Modified: trunk/moon/src/audio.cpp
===================================================================
--- trunk/moon/src/audio.cpp	2009-05-31 18:20:07 UTC (rev 135099)
+++ trunk/moon/src/audio.cpp	2009-05-31 18:58:53 UTC (rev 135100)
@@ -10,7 +10,9 @@
  * See the LICENSE file included with the distribution for details.
  */
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
 
 #include <pthread.h>
 

Modified: trunk/moon/src/bitmapimage.cpp
===================================================================
--- trunk/moon/src/bitmapimage.cpp	2009-05-31 18:20:07 UTC (rev 135099)
+++ trunk/moon/src/bitmapimage.cpp	2009-05-31 18:58:53 UTC (rev 135100)
@@ -17,8 +17,8 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <unistd.h>
 #include <fcntl.h>
-#include <unistd.h>
 #include <errno.h>
 
 #include "application.h"

Modified: trunk/moon/src/bitmapsource.cpp
===================================================================
--- trunk/moon/src/bitmapsource.cpp	2009-05-31 18:20:07 UTC (rev 135099)
+++ trunk/moon/src/bitmapsource.cpp	2009-05-31 18:58:53 UTC (rev 135100)
@@ -11,6 +11,10 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 
 #include "application.h"

Modified: trunk/moon/src/border.cpp
===================================================================
--- trunk/moon/src/border.cpp	2009-05-31 18:20:07 UTC (rev 135099)
+++ trunk/moon/src/border.cpp	2009-05-31 18:58:53 UTC (rev 135100)
@@ -8,7 +8,10 @@
  * 
  */
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
+
 #include "geometry.h"
 #include "runtime.h"
 #include "brush.h"

Modified: trunk/moon/src/brush.cpp
===================================================================
--- trunk/moon/src/brush.cpp	2009-05-31 18:20:07 UTC (rev 135099)
+++ trunk/moon/src/brush.cpp	2009-05-31 18:58:53 UTC (rev 135100)
@@ -11,9 +11,13 @@
  * 
  */
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
+
 #include <cairo.h>
 #include <glib.h>
+
 #include "brush.h"
 #include "media.h"
 #include "mediaelement.h"

Modified: trunk/moon/src/canvas.cpp
===================================================================
--- trunk/moon/src/canvas.cpp	2009-05-31 18:20:07 UTC (rev 135099)
+++ trunk/moon/src/canvas.cpp	2009-05-31 18:58:53 UTC (rev 135100)
@@ -11,7 +11,10 @@
  * 
  */
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
+
 #include "rect.h"
 #include "canvas.h"
 #include "runtime.h"

Modified: trunk/moon/src/uielement.cpp
===================================================================
--- trunk/moon/src/uielement.cpp	2009-05-31 18:20:07 UTC (rev 135099)
+++ trunk/moon/src/uielement.cpp	2009-05-31 18:58:53 UTC (rev 135100)
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 /*
  * uielement.cpp
  *
@@ -7,7 +8,10 @@
  * 
  */
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
+
 #include <stdlib.h>
 #include <math.h>
 
@@ -336,6 +340,7 @@
 	Transform *transform = GetRenderTransform ();
 	Point transform_origin = GetTransformOrigin ();
 	cairo_matrix_t render;
+	
 	cairo_matrix_init_identity (&render);
 	cairo_matrix_init_identity (&local_xform);
 

_______________________________________________
Mono-patches maillist  -  Mono-patches@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic