Print

Print


URL:
  <http://savannah.cern.ch/bugs/?97291>

                 Summary: Public headers rely on project-specific defines
                 Project: XROOTD
            Submitted by: bbockelm
            Submitted on: 2012-09-05 13:30
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
      Fixed by commit(s): 

    _______________________________________________________

Details:

A few of the public headers (example: XrdSysPlatform.hh) rely on constructs
like this:

#if defined(__macos__)
...
#endif

where __macos__ is not commonly defined on the Mac platform, but from
xrootd's CMake system.  Hence, when other projects include these headers,
they most likely won't work with Mac OS X.

We should switch these to:

#if defined(__APPLE__)
...
#endif




    _______________________________________________________

Reply to this item at:

  <http://savannah.cern.ch/bugs/?97291>

_______________________________________________
  Message sent via/by LCG Savannah
  http://savannah.cern.ch/

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1