From: Emil Velikov <emil.veli...@collabora.com>

As of a few commits ago the header will always contain the macro.

Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
---
 src/mesa/main/version.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index 7138cf3..74e06f9 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -122,9 +122,7 @@ create_version_string(struct gl_context *ctx, const char 
*prefix)
    if (ctx->VersionString) {
       _mesa_snprintf(ctx->VersionString, max,
                     "%s%u.%u%s Mesa " PACKAGE_VERSION
-#ifdef MESA_GIT_SHA1
                     " (" MESA_GIT_SHA1 ")"
-#endif
                     ,
                     prefix,
                     ctx->Version / 10, ctx->Version % 10,
-- 
2.8.2

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to