On Mon, Mar 18, 2013 at 4:42 AM, Michael Meeks <michael.meeks@suse.com> wrote:
On Sat, 2013-03-16 at 21:18 -0500, Norbert Thiebaud wrote:
On Fri, Mar 15, 2013 at 10:58 AM, Lubos Lunak <l.lunak@suse.cz> wrote:
 I'd like to propose that we convert our
#ifdef HAVE_FOO
to
#if HAVE_FOO
 +1
        Sounds great to me too; though of course I'd prefer to keep the diff
smaller and not replace all the header guards:
#ifndef INCLUDED_OOXML_FAST_CONTEXT_HANDLER_HXX
#define INCLUDED_OOXML_FAST_CONTEXT_HANDLER_HXX
oh!, ny +1 was for HAVE_* and the like, not header guard...
iow for pre-compiler variable used to 'configure' things... not
mechanical ones like header guard.
Norbert
Context
Re: #ifdef vs #if for feature checks · Norbert Thiebaud
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.