mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 05:23:16 +00:00
11 lines
201 B
Diff
11 lines
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;
|