]> git.pld-linux.org Git - packages/AMD.git/blob - amd-externc.patch
- added externc patch (avoid forcing extern C for system headers, could cause problem...
[packages/AMD.git] / amd-externc.patch
1 --- AMD/Include/amd.h.orig      2014-11-21 18:37:31.104213554 +0100
2 +++ AMD/Include/amd.h   2014-11-21 18:46:11.707525119 +0100
3 @@ -35,16 +35,16 @@
4  #ifndef AMD_H
5  #define AMD_H
6  
7 -/* make it easy for C++ programs to include AMD */
8 -#ifdef __cplusplus
9 -extern "C" {
10 -#endif
11 -
12  /* get the definition of size_t: */
13  #include <stddef.h>
14  
15  #include <SuiteSparse_config.h>
16  
17 +/* make it easy for C++ programs to include AMD */
18 +#ifdef __cplusplus
19 +extern "C" {
20 +#endif
21 +
22  int amd_order                  /* returns AMD_OK, AMD_OK_BUT_JUMBLED,
23                                  * AMD_INVALID, or AMD_OUT_OF_MEMORY */
24  (
This page took 0.083151 seconds and 3 git commands to generate.