LibC: Define TMP_MAX

This is required by POSIX and is supposed to be equal to the number
of unique filenames that tmpnam can return. Given that we only have a
stub for that function, TMP_MAX is only here to please libcxx tests.
This commit is contained in:
Lucas Chollet authored and Nico Weber committed 2026-08-24 20:16:51 -04:00
1 parent d557a8a7bc
commit 78bf9db1a3
1 file changed
+1
+1
View File
@@ -21,6 +21,7 @@
#define FILENAME_MAX 1024
#define FOPEN_MAX 1024
#define TMP_MAX 1000
__BEGIN_DECLS
#ifndef EOF