summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/include/stdlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/include/stdlib.h b/nuttx/include/stdlib.h
index 16a3f935b..90b9db418 100644
--- a/nuttx/include/stdlib.h
+++ b/nuttx/include/stdlib.h
@@ -63,7 +63,7 @@
/* Maximum value returned by rand() */
-#define MAX_RAND 32767
+#define RAND_MAX 32767
/* Integer expression whose value is the maximum number of bytes in a
* character specified by the current locale.