Help with making stuff compile on non-Linux
Thiago Macieira
thiago at kde.org
Wed Jul 23 14:25:48 BST 2008
On Wednesday 23 July 2008 10:15:06 Sebastian Trüg wrote:
> #include "priority.h"
>
> #include <QtCore/QDebug>
>
> #ifdef SYS_ioprio_set
> #define HAVE_IO_PRIO
> #endif
>
> #ifdef SCHED_BATCH
> #define HAVE_SCHED_BATCH
> #endif
>
> #ifndef _GNU_SOURCE
> #define _GNU_SOURCE
> #endif
If you're going to define _GNU_SOURCE, you should do it before any includes.
It's only processed once (by features.h).
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080723/1d2f7e0a/attachment.sig>
More information about the kde-core-devel
mailing list