depot/third_party/nixpkgs/pkgs/by-name/mi/missidentify/fix-darwin-build.patch
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

11 lines
No EOL
201 B
Diff

--- a/main.h
+++ b/main.h
@@ -68,7 +68,7 @@ memset(VAR,0,SIZE * sizeof(TYPE));
-#ifdef __GLIBC__
+#if defined(__GLIBC__) || defined (__APPLE__)
extern char *__progname;
#else
char *__progname;