Workaround for Cabal ticket #944.
This patch is a modified version of one submitted by Paul van der Walt. It adds a "haskeline_" prefix to all of Haskeline's C symbol names. This avoids clashing symbol names with other packages that implement the same C functions. (In particular, it prevents a clash with vty on "mk_wcswidth".)
Showing
- System/Console/Haskeline/Backend/IConv.hsc 3 additions, 3 deletionsSystem/Console/Haskeline/Backend/IConv.hsc
- System/Console/Haskeline/Backend/WCWidth.hs 2 additions, 2 deletionsSystem/Console/Haskeline/Backend/WCWidth.hs
- System/Console/Haskeline/Backend/Win32.hsc 1 addition, 1 deletionSystem/Console/Haskeline/Backend/Win32.hsc
- cbits/h_iconv.c 3 additions, 3 deletionscbits/h_iconv.c
- cbits/h_wcwidth.c 10 additions, 10 deletionscbits/h_wcwidth.c
- cbits/win_console.c 1 addition, 1 deletioncbits/win_console.c
- includes/h_iconv.h 3 additions, 3 deletionsincludes/h_iconv.h
- includes/win_console.h 1 addition, 1 deletionincludes/win_console.h
Loading
Please register or sign in to comment