Re: #ifdef statement inside #define

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixed quoting:

> On 8/18/06, Bernd Petrovitsch <bernd@xxxxxxxxx> wrote:
> > On Fri, 2006-08-18 at 09:48 -0400, Mark Hounschell wrote:
> > [...]
> > >  #define INIT lock_mutex();
> > You do not want this there  ^

On Fri, 2006-08-18 at 10:19 -0400, Jared Greenwald wrote:
> By "this" you mean the semi-colon, right?

Yes. Out the ; in the code and the macro "call" looks like a function
call.

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux