Ticket #41829: patch-global-pointer-indirection.diff

File patch-global-pointer-indirection.diff, 813 bytes (added by litherum@…, 11 years ago)

Patch for src/libqhull/user.h

Line 
1*** src/libqhull/user.h.orig    2013-12-15 18:10:58.000000000 -0800
2--- src/libqhull/user.h 2013-12-15 18:10:47.000000000 -0800
3***************
4*** 598,606 ****
5  #if qh_dllimport
6  #error QH6207 Qhull error: Use qh_QHpointer_dllimport instead of qh_dllimport with qh_QHpointer
7  #endif
8  #else
9! #define qh_QHpointer 0
10  #if qh_QHpointer_dllimport
11  #error QH6234 Qhull error: Use qh_dllimport instead of qh_QHpointer_dllimport when qh_QHpointer is not defined
12  #endif
13  #endif
14--- 598,606 ----
15  #if qh_dllimport
16  #error QH6207 Qhull error: Use qh_QHpointer_dllimport instead of qh_dllimport with qh_QHpointer
17  #endif
18  #else
19! #define qh_QHpointer 1
20  #if qh_QHpointer_dllimport
21  #error QH6234 Qhull error: Use qh_dllimport instead of qh_QHpointer_dllimport when qh_QHpointer is not defined
22  #endif
23  #endif