diff options
author | 2011-03-30 05:33:19 +0000 | |
---|---|---|
committer | 2011-03-30 05:33:19 +0000 | |
commit | 846387fea736de1b3a9358c2f13a17eb306337f6 (patch) | |
tree | e86f7f5ec5192e2ab57cb1158daafc25b919f1e4 /main.h | |
parent | add todo for O_PATH (diff) | |
download | portage-utils-846387fea736de1b3a9358c2f13a17eb306337f6.tar.gz portage-utils-846387fea736de1b3a9358c2f13a17eb306337f6.tar.bz2 portage-utils-846387fea736de1b3a9358c2f13a17eb306337f6.zip |
move _q_static setup to main.h and drop useless _GNU_SOURCE here (needs to be before all C lib includes)
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,13 +1,15 @@ /* * Copyright 2005-2010 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/portage-utils/main.h,v 1.7 2011/02/21 21:52:55 vapier Exp $ + * $Header: /var/cvsroot/gentoo-projects/portage-utils/main.h,v 1.8 2011/03/30 05:33:19 vapier Exp $ * * Copyright 2005-2010 Ned Ludd - <solar@gentoo.org> * Copyright 2005-2010 Mike Frysinger - <vapier@gentoo.org> */ -#define _GNU_SOURCE +#ifndef _q_static +# define _q_static static +#endif /* make sure our buffers are as big as they can be */ #if PATH_MAX > _POSIX_PATH_MAX /* _Q_PATH_MAX */ |