Report changeset, not version.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 24 Mar 2010 09:58:32 -0400
changeset 901 a9f799b93150
parent 900 9673cb4bd0e8
child 902 cff5841d29e7
Report changeset, not version.
utils/availableprofiles.c
utils/bestprofile.c
utils/finderrors.c
utils/testparse.c
--- a/utils/availableprofiles.c	Wed Mar 24 09:56:34 2010 -0400
+++ b/utils/availableprofiles.c	Wed Mar 24 09:58:32 2010 -0400
@@ -43,8 +43,8 @@
 
     #if 0
     printf("MojoShader availableprofile\n");
-    printf("Compiled against version %d\n", MOJOSHADER_VERSION);
-    printf("Linked against version %d\n", MOJOSHADER_version());
+    printf("Compiled against changeset %s\n", MOJOSHADER_CHANGESET);
+    printf("Linked against changeset %s\n", MOJOSHADER_changeset());
     printf("\n");
     #endif
 
--- a/utils/bestprofile.c	Wed Mar 24 09:56:34 2010 -0400
+++ b/utils/bestprofile.c	Wed Mar 24 09:58:32 2010 -0400
@@ -17,8 +17,8 @@
 
     #if 0
     printf("MojoShader bestprofile\n");
-    printf("Compiled against version %d\n", MOJOSHADER_VERSION);
-    printf("Linked against version %d\n", MOJOSHADER_version());
+    printf("Compiled against changeset %s\n", MOJOSHADER_CHANGESET);
+    printf("Linked against changeset %s\n", MOJOSHADER_changeset());
     printf("\n");
     #endif
 
--- a/utils/finderrors.c	Wed Mar 24 09:56:34 2010 -0400
+++ b/utils/finderrors.c	Wed Mar 24 09:58:32 2010 -0400
@@ -176,8 +176,8 @@
 int main(int argc, char **argv)
 {
     //printf("MojoShader finderrors\n");
-    //printf("Compiled against version %d\n", MOJOSHADER_VERSION);
-    //printf("Linked against version %d\n", MOJOSHADER_version());
+    //printf("Compiled against changeset %s\n", MOJOSHADER_CHANGESET);
+    //printf("Linked against changeset %s\n", MOJOSHADER_changeset());
     //printf("\n");
 
     if (argc <= 2)
--- a/utils/testparse.c	Wed Mar 24 09:56:34 2010 -0400
+++ b/utils/testparse.c	Wed Mar 24 09:58:32 2010 -0400
@@ -206,8 +206,8 @@
     int retval = 0;
 
     printf("MojoShader testparse\n");
-    printf("Compiled against version %d\n", MOJOSHADER_VERSION);
-    printf("Linked against version %d\n", MOJOSHADER_version());
+    printf("Compiled against changeset %s\n", MOJOSHADER_CHANGESET);
+    printf("Linked against changeset %s\n", MOJOSHADER_changeset());
     printf("\n");
 
     if (argc <= 2)