Include just the definition of BLASLONG rather than all of common.h
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Thu, 18 Mar 2021 06:50:19 +0000 (07:50 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Mar 2021 06:50:19 +0000 (07:50 +0100)
getarch_2nd.c

index 53ecccf..dd1f830 100644 (file)
@@ -4,7 +4,15 @@
 #else
 #include "config_kernel.h"
 #endif
-#include "common.h"
+#if (defined(__WIN32__) || defined(__WIN64__) || defined(__CYGWIN32__) || defined(__CYGWIN64__) || defined(_WIN32) || defined(_WIN64)) && defined(__64BIT__)
+typedef long long BLASLONG;
+typedef unsigned long long BLASULONG;
+#else
+typedef long BLASLONG;
+typedef unsigned long BLASULONG;
+#endif
+
+#include "param.h"
 
 int main(int argc, char **argv) {