]> granicus.if.org Git - nethack/commitdiff
fix undefined symbol in nhlib
authorAdam Powers <apowers@ato.ms>
Fri, 28 Aug 2020 04:37:16 +0000 (21:37 -0700)
committerAdam Powers <apowers@ato.ms>
Fri, 28 Aug 2020 04:37:16 +0000 (21:37 -0700)
src/version.c

index 049b9213753f8e6d09d2d91b39d01dee3e7b89f6..7645969d43eae0709769a3a40e08b8b213738337 100644 (file)
@@ -265,7 +265,7 @@ boolean pastebuf;
     raw_printf("%s", buf2);
 
     if (pastebuf) {
-#ifdef RUNTIME_PASTEBUF_SUPPORT
+#if defined(RUNTIME_PASTEBUF_SUPPORT) && !defined(LIBNH)
         /*
          * Call a platform/port-specific routine to insert the
          * version information into a paste buffer. Useful for