]> granicus.if.org Git - nethack/commitdiff
git hash wasn't being used on unix
authornhmall <nhmall@nethack.org>
Mon, 23 Aug 2021 00:57:49 +0000 (20:57 -0400)
committernhmall <nhmall@nethack.org>
Mon, 23 Aug 2021 00:57:49 +0000 (20:57 -0400)
src/version.c

index ba972aeb223ad4c07472ee0dbc5ee53725b82c09..f0af2795c7b978374a5f12b8c6ca5e022be0811d 100644 (file)
@@ -25,7 +25,6 @@ getversionstring(char *buf)
 {
     Strcpy(buf, nomakedefs.version_id);
 
-#if defined(RUNTIME_PORT_ID)
     {
         int c = 0;
 #if defined(RUNTIME_PORT_ID)
@@ -61,7 +60,6 @@ getversionstring(char *buf)
             Snprintf(eos(buf), (sizeof buf - strlen(buf)) - 1,
                      "%s", ".");
     }
-#endif /* RUNTIME_PORT_ID */
     return buf;
 }