igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] MinGW compilation: type definition missing (patch)


From: Jannick
Subject: [igraph] MinGW compilation: type definition missing (patch)
Date: Fri, 2 Sep 2016 12:16:49 +0200

Hi,

 

I finally managed to compile the iGraph package for MinGW (using msys) which needs the tiny patch to make that happen.

 

Effectively, in prpack/prpack_csc.h the __int64 type definition is missing which is amended by innocently including <stdio.h>.

 

Best regards,

J.

 

===================================================================

--- prpack/prpack_csc.h (revision 2)

+++ prpack/prpack_csc.h           (working copy)

@@ -4,6 +4,7 @@

#if !defined(_MSC_VER) && !defined (__MINGW32__) && !defined (__MINGW64__)

#  include <stdint.h>

#else

+#  include <stdio.h>

typedef __int64 int64_t;

#endif

 

Attachment: igraph_2016-09-02.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]