kmod: fixing darwin.patch
This commit is contained in:
parent
605ccef432
commit
ea93044e9e
1 changed files with 9 additions and 6 deletions
|
@ -69,14 +69,17 @@ diff --git a/shared/macro.h b/shared/macro.h
|
||||||
index 4fc5405..b5a2702 100644
|
index 4fc5405..b5a2702 100644
|
||||||
--- a/shared/macro.h
|
--- a/shared/macro.h
|
||||||
+++ b/shared/macro.h
|
+++ b/shared/macro.h
|
||||||
@@ -71,3 +71,7 @@
|
@@ -53,6 +53,10 @@
|
||||||
#endif
|
#define CONCATENATE(x, y) XCONCATENATE(x, y)
|
||||||
|
#define UNIQ(x) CONCATENATE(x, __COUNTER__)
|
||||||
#define UNIQ __COUNTER__
|
|
||||||
+
|
+#if !defined(__linux__)
|
||||||
+ #if !defined(__linux__)
|
|
||||||
+#define program_invocation_short_name getprogname()
|
+#define program_invocation_short_name getprogname()
|
||||||
+#endif
|
+#endif
|
||||||
|
+
|
||||||
|
/* Temporaries for importing index handling */
|
||||||
|
#define NOFAIL(x) (x)
|
||||||
|
#define fatal(x...) do { } while (0)
|
||||||
diff --git a/shared/missing.h b/shared/missing.h
|
diff --git a/shared/missing.h b/shared/missing.h
|
||||||
index 4c0d136..ad8ec0f 100644
|
index 4c0d136..ad8ec0f 100644
|
||||||
--- a/shared/missing.h
|
--- a/shared/missing.h
|
||||||
|
|
Loading…
Reference in a new issue