Didrik's windows patch

Bernhard Reiter bernhard at intevation.de
Wed Apr 5 11:20:27 CEST 2006


Hi Didrik,

I just glanced over your diff!


First thing I have noticed:
The following change does not seem to be good,
as my proj_api.h only has PJ_VERSION, not projPJ_VERSION:

@@ -685,12 +677,12 @@
 {
     PyObject * result;

-#ifdef PJ_VERSION
+#ifdef projPJ_VERSION
     result = PyTuple_New(3);
     if (result == NULL)
         return NULL;

-    int ver = PJ_VERSION;
+    int ver = projPJ_VERSION;
     int major = ver / 100; ver -= major * 100;
     int minor = ver / 10;  ver -= minor * 10;
     int release = ver;


Does it work for you?
Have a look at the about dialog, there should be a line for proj.

	Bernhard


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060405/8d453926/attachment.bin


More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)