blob: 0cd84879b9677fb0751435dc302e07cabaa98c29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Source: maxice8
Upstream: no, it seems to be inactive.
Reason: fixes usage of dmraid.h under musl libc.
--- dmraid/include/dmraid/misc.h
+++ dmraid/include/dmraid/misc.h
@@ -10,6 +10,7 @@
#ifndef _MISC_H_
#define _MISC_H_
+#define _GNU_SOURCE
#include <fcntl.h>
#define DM_ASSERT(__cond) do { if (!(__cond)) { printf("ASSERT file:%s line:%d fuction:%s cond: %s\n", __FILE__, __LINE__, __FUNCTION__, #__cond); } } while(0);
|