QUE: #if defined(LINUX) ?

Mavroyanopoulos Nikos nmav at i-net.paiko.gr
Tue Feb 2 18:51:12 EET 1999


On Tue, Feb 02, 1999 at 05:19:43PM +0200, Mihalis Tsoukalos wrote:

> Geia xara kai pali.
> Parakato iparxei ena kommati apo kodika se c++ san paradeigma.
> Iparxei, loipon, kapoia leksi kleidi gia to kathe leitourgiko sistima oste
> na ginontai #include ta analoga arxeia.
> Gia to Linux einai i profanis leksi LINUX; To dokimasa kai fainetai na min
> doulebe. Mipos to declaration ginetai kapou allou; [se Makefile gia
> paradeigma]

Se arketa arxeia sto usr/include/linux/ eida ta
#ifdef __linux__
kai #ifdef LINUX
To prwto doulepse se mena.

> efxaristo,
> mixalis.

-- 
Nikos Mavroyanopoulos
        nmav at i-net.paiko.gr
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list