Skip to content

Commit

Permalink
Fix libgo runtime, SunOS libelf does not support largefile
Browse files Browse the repository at this point in the history
  • Loading branch information
alarcher committed Oct 25, 2018
1 parent 39f8409 commit 28bbd35
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libgo/runtime/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
#include "config.h"

#ifdef HAVE_DL_ITERATE_PHDR
#ifdef __sun
#undef _FILE_OFFSET_BITS
#define _FILE_OFFSET_BITS 32
#endif
#include <link.h>
#endif

Expand Down

0 comments on commit 28bbd35

Please sign in to comment.