Explorar el Código

Avoid duplicate RANDOM_MAX on NetBSD

Bryan Drewery hace 2 años
padre
commit
e9752ee25d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/config.h.in

+ 2 - 0
src/config.h.in

@@ -267,8 +267,10 @@
 /* Define to the version of this package. */
 #undef PACKAGE_VERSION
 
+#ifndef RANDOM_MAX
 /* Define limit of random() function. */
 #undef RANDOM_MAX
+#endif
 
 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
 #undef STAT_MACROS_BROKEN