[Winpt-commits] r111 - trunk/w32gpgme

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Fri Dec 2 09:19:51 CET 2005


Author: twoaday
Date: 2005-12-02 09:19:50 +0100 (Fri, 02 Dec 2005)
New Revision: 111

Modified:
   trunk/w32gpgme/w32-clip.c
Log:
Automatically detect version.


Modified: trunk/w32gpgme/w32-clip.c
===================================================================
--- trunk/w32gpgme/w32-clip.c	2005-12-02 08:17:55 UTC (rev 110)
+++ trunk/w32gpgme/w32-clip.c	2005-12-02 08:19:50 UTC (rev 111)
@@ -17,14 +17,17 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <windows.h>
 #include "w32gpgme.h"
 
+#define PGM_VERSION PACKAGE_VERSION
+
 int gpg_data_wrap_lines (gpgme_data_t *r_dh, size_t wraplen);
 
-//FIXME #include "wptVersion.h"
-#define PGM_VERSION "0.11.2-beta"
 
 /* Retrieve the thext of the clipboard.
    Return value: the text as a string, NULL otherwise. */



More information about the Winpt-commits mailing list