Skip to content

Commit

Permalink
[SSI] Bypass Gentoo Linux issue in zconf.h not defining "OF".
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 committed Jun 11, 2018
1 parent b90d461 commit a7faa36
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/XrdSsi/XrdSsiShMam.cc
Expand Up @@ -46,6 +46,14 @@

using namespace std;

/* Gentoo removed OF from their copy of zconf.h but we need it here.
See https://bugs.gentoo.org/show_bug.cgi?id=383179 for the sad history.
This patch modelled after https://trac.osgeo.org/gdal/changeset/24622
*/
#ifndef OF
#define OF(args) args
#endif

/******************************************************************************/
/* S h a r e d M e m o r y I n f o r m a t i o n S t r u c t u r e */
/******************************************************************************/
Expand Down

0 comments on commit a7faa36

Please sign in to comment.