🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #8572

#ifdef #if ...

#8572
From: quantium
Date: Fri, 01 Nov 2002 19:35
16 lines
1236 bytes
Hola a todos.
Tengo una peque�a duda, �existe alguna forma de compilar ciertas partes 
del codigo dependiendo del sistema operativo? lo digo porque en unix y 
msdos no comparten muchas funciones.
Seria algo como esto:

#ifdef _LINUX_
.....
#endif


#ifdef _MSDOS_
.....
#endif

Muchas gracias a todos :-)
Technical Details
Message-ID: <3DC2D76F.3080501@lycos.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!fu-berlin.de!uni-berlin.de!62.174.160.91!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,7b26d300b91769d4,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-11-01 11:35:52 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!fu-berlin.de!uni-berlin.de!62.174.160.91!not-for-mail
From: quantium <quantium@lycos.es>
Newsgroups: es.comp.os.linux.programacion
Subject: #ifdef #if ...
Date: Fri, 01 Nov 2002 20:35:11 +0100
Lines: 17
Message-ID: <3DC2D76F.3080501@lycos.es>
NNTP-Posting-Host: 62.174.160.91
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1036179351 5023732 62.174.160.91 (16 [129971])
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc3) Gecko/20020523
X-Accept-Language: en-us, en