]> sigrok.org Git - libsigrok.git/blobdiff - src/output/vcd.c
Don't reference SR_PACKAGE_VERSION_STRING directly in output modules.
[libsigrok.git] / src / output / vcd.c
index f90db498e5710d1d595bfab3c5b27818c7b2d202..561b3ba059fc914583b85c0b01901a5490f62e7f 100644 (file)
@@ -102,7 +102,7 @@ static GString *gen_header(const struct sr_output *o)
 
        /* generator */
        g_string_append_printf(header, "$version %s %s $end\n",
-                       PACKAGE_NAME, SR_PACKAGE_VERSION_STRING);
+                       PACKAGE_NAME, sr_package_version_string_get());
        g_string_append_printf(header, "$comment\n  Acquisition with "
                        "%d/%d channels", ctx->num_enabled_channels, num_channels);