Skip to content

Commit

Permalink
Merge pull request xiaoyeli#139 from prj-/jolivet/fix-undef
Browse files Browse the repository at this point in the history
Fix -Wundef
  • Loading branch information
xiaoyeli authored Feb 26, 2024
2 parents ed7c286 + 3ec6cd5 commit b814567
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SRC/superlu_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/* #undef XSDK_INDEX_SIZE */

/* Integer type for indexing sparse matrix meta structure */
#if (XSDK_INDEX_SIZE == 64)
#if defined(XSDK_INDEX_SIZE) && (XSDK_INDEX_SIZE == 64)
#include <stdint.h>
#define _LONGINT 1
typedef int64_t int_t;
Expand Down
2 changes: 1 addition & 1 deletion SRC/superlu_config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#cmakedefine XSDK_INDEX_SIZE @XSDK_INDEX_SIZE@

/* Integer type for indexing sparse matrix meta structure */
#if (XSDK_INDEX_SIZE == 64)
#if defined(XSDK_INDEX_SIZE) && (XSDK_INDEX_SIZE == 64)
#include <stdint.h>
#define _LONGINT 1
typedef int64_t int_t;
Expand Down

0 comments on commit b814567

Please sign in to comment.