aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/dt/dt/dt-default-source-define.patch
blob: 87016edf03c3521ef126e7104ce497b4b7ce5e95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Patch from http://pkgs.fedoraproject.org/git/rpms/dt.git

Upstream-Status: Pending

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

diff -rupN dt.v18.32.old/common.h dt.v18.32/common.h
--- dt.v18.32.old/common.h	2013-03-01 23:52:30.000000000 +0100
+++ dt.v18.32/common.h	2014-09-24 17:41:40.777604710 +0200
@@ -127,7 +127,7 @@ typedef volatile slarge_t	v_slarge;
 
 #endif /* defined(_WIN64) */
 
-#elif defined(__GNUC__) && defined(_BSD_SOURCE) || defined(SCO) || defined(__QNXNTO__) || defined(SOLARIS) || defined(HP_UX) || defined(AIX) || defined(_NT_SOURCE) 
+#elif defined(__GNUC__) && defined(_BSD_SOURCE) || defined (_DEFAULT_SOURCE) ||  defined(SCO) || defined(__QNXNTO__) || defined(SOLARIS) || defined(HP_UX) || defined(AIX) || defined(_NT_SOURCE) 
 
 #define QuadIsLongLong
 typedef unsigned long long int	large_t;