Browse Source

added wokaround proposed by jklein to make the new sylvan version build on older osx

tempestpy_adaptions
dehnert 8 years ago
parent
commit
becc43e1e1
  1. 6
      resources/3rdparty/sylvan/src/lace.c

6
resources/3rdparty/sylvan/src/lace.c

@ -26,6 +26,12 @@
#include <unistd.h>
#include <assert.h>
// work around for missing MAP_ANONYMOUS definition in sys/mman.h on
// older OS X versions
#if !(defined MAP_ANONYMOUS) && defined MAP_ANON
#define MAP_ANONYMOUS MAP_ANON
#endif
#include <lace.h>
#include <hwloc.h>

Loading…
Cancel
Save