Browse Source

Update gis.h

Replace SVN keyword $Revision$ with generic GRASS_VERSION_STRING
Markus Metz 5 năm trước cách đây
mục cha
commit
782386129a
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      include/gis.h

+ 2 - 1
include/gis.h

@@ -27,6 +27,7 @@
 /* Grass and local include files */
 #include <grass/config.h>
 #include <grass/datetime.h>
+#include <grass/version.h>
 
 /*=========================== Constants/Defines ============================*/
 
@@ -38,7 +39,7 @@
 static const char *GRASS_copyright __attribute__ ((unused))
     = "GRASS GNU GPL licensed Software";
 
-#define GIS_H_VERSION "$Revision$"
+#define GIS_H_VERSION "GRASS_VERSION_STRING"
 #define GIS_H_DATE    "$Date$"
 
 #define G_gisinit(pgm) G__gisinit(GIS_H_VERSION, (pgm))