]> git.sur5r.net Git - openocd/blobdiff - src/openocd.c
Dick Hollenbeck <dick@softplc.com>: move OPENOCD_VERSION to use config.h
[openocd] / src / openocd.c
index 084b8a1d05be6361d4ec36d57fac59131ca254ad..56576ee351fff82e970564c77e150dbbbf699d07 100644 (file)
@@ -24,8 +24,6 @@
  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
  ***************************************************************************/
 
-#define OPENOCD_VERSION "Open On-Chip Debugger " VERSION " (" PKGBLDDATE ") "RELSTR PKGBLDREV
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 #include <unistd.h>
 #include <errno.h>
 
+
+#define OPENOCD_VERSION \
+               "Open On-Chip Debugger " VERSION " (" PKGBLDDATE ") " RELSTR PKGBLDREV
+
+
 void print_version(void)
 {
        /* DANGER!!! make sure that the line below does not appear in a patch, do not remove */