Who defines the platform specific macros eg LINUX VXWORKS etc
- From: "lovecreatesbeauty@xxxxxxxxx" <lovecreatesbeauty@xxxxxxxxx>
- Date: Fri, 31 Oct 2008 02:44:16 -0700 (PDT)
Are these macros defined in Makefile or by some environment which can
detect the platform types?
/* common code here */
#ifdef LINUX
/* other os spefic code */
#elif defined VXWORKS
/* other os spefic code */
#elif defined MACOSX
/* other os spefic code */
#elif defined WIN32
/* other os spefic code */
#endif
/* common code here */
.
- Follow-Ups:
- Re: Who defines the platform specific macros eg LINUX VXWORKS etc
- From: James Kuyper
- Re: Who defines the platform specific macros eg LINUX VXWORKS etc
- Prev by Date: Re: a question abou "atoi"
- Next by Date: Re: Judge the encode systm used by the file.
- Previous by thread: Re: a question abou "atoi"
- Next by thread: Re: Who defines the platform specific macros eg LINUX VXWORKS etc
- Index(es):
Relevant Pages
|