aboutsummaryrefslogtreecommitdiff
path: root/src/struct_info.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/struct_info.json')
-rw-r--r--src/struct_info.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/struct_info.json b/src/struct_info.json
index 32261c0a..2aeffc9c 100644
--- a/src/struct_info.json
+++ b/src/struct_info.json
@@ -141,7 +141,9 @@
},
{
"file": "libc/stdlib.h",
- "defines": [],
+ "defines": [
+ "RAND_MAX"
+ ],
"structs": {
// NOTE: The hash sign at the end of this name is a hint to the processor that it mustn't prefix "struct " to the name to reference this struct.
// It will be stripped away when writing the compiled JSON file. You can just refer to it as C_STRUCTS.div_t when using it in the JS code.