goffice r2239 - in trunk: . goffice/math



Author: jody
Date: Fri Oct 17 10:39:03 2008
New Revision: 2239
URL: http://svn.gnome.org/viewvc/goffice?rev=2239&view=rev

Log:
2008-10-17  Jody Goldberg <jody gnome org>

	* goffice/math/go-distribution.c : minor build fix for win32.


Modified:
   trunk/ChangeLog
   trunk/goffice/math/go-distribution.c

Modified: trunk/goffice/math/go-distribution.c
==============================================================================
--- trunk/goffice/math/go-distribution.c	(original)
+++ trunk/goffice/math/go-distribution.c	Fri Oct 17 10:39:03 2008
@@ -37,7 +37,6 @@
 #define DISTRIBUTION_FIRST_PATH
 #ifdef GOFFICE_WITH_LONG_DOUBLE
 #include "go-distribution.c"
-#define DISTRIBUTION_LAST_PATH
 #undef DISTRIBUTION_FIRST_PATH
 #undef DOUBLE
 #undef SUFFIX
@@ -47,9 +46,8 @@
 #endif
 #define DOUBLE long double
 #define SUFFIX(_n) _n ## l
-#else
-#define DISTRIBUTION_LAST_PATH
 #endif
+#define DISTRIBUTION_LAST_PATH
 
 #endif
 
@@ -843,7 +841,7 @@
 /*                        Global functions                                   */
 /*****************************************************************************/
 
-#ifndef DISTRIBUTION_LAST_PATH
+#ifdef DISTRIBUTION_LAST_PATH
 
 GODistribution*
 go_distribution_new (GODistributionType type)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]