Skip to content

Commit c923b96

Browse files
authored
Merge branch 'tsoding:main' into custom_nob_log_flag
2 parents b40faa4 + 7deb15d commit c923b96

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

nob.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* nob - v1.25.0 - Public Domain - https://github.com/tsoding/nob.h
1+
/* nob - v1.25.1 - Public Domain - https://github.com/tsoding/nob.h
22
33
This library is the next generation of the [NoBuild](https://github.com/tsoding/nobuild) idea.
44
@@ -163,6 +163,9 @@
163163
# include <direct.h>
164164
# include <shellapi.h>
165165
#else
166+
# ifdef __APPLE__
167+
# include <mach-o/dyld.h>
168+
# endif
166169
# include <sys/types.h>
167170
# include <sys/wait.h>
168171
# include <sys/stat.h>
@@ -611,7 +614,7 @@ NOBDEF char *nob_temp_running_executable_path(void);
611614
# else
612615
# define nob_cc_flags(cmd) nob_cmd_append(cmd, "-Wall", "-Wextra")
613616
# endif
614-
#endif // nob_cc_output
617+
#endif // nob_cc_flags
615618

616619
#ifndef nob_cc_output
617620
# if defined(_MSC_VER) && !defined(__clang__)
@@ -2462,6 +2465,7 @@ NOBDEF int closedir(DIR *dirp)
24622465
/*
24632466
Revision history:
24642467
2468+
1.25.1 (2025-11-06) Fix forward declaration of _NSGetExecutablePath on MacOS (by agss0)
24652469
1.25.0 (2025-10-25) - Add nob_sb_pad_align()
24662470
- Add nob_swap()
24672471
- Add nob_temp_strndup()

0 commit comments

Comments
 (0)