The CGNS library and tools are used to store and process data related to computational fluid dynamics. v2: hdf5 is a build and runtime dependency Signed-off-by: Francis Giraldeau <francis.giraldeau@nrc-cnrc.gc.ca>
17 lines
486 B
Diff
17 lines
486 B
Diff
diff -rupN CGNS-3.3.1.orig/src/cgnstypes.h.in CGNS-3.3.1/src/cgnstypes.h.in
|
|
--- CGNS-3.3.1.orig/src/cgnstypes.h.in 2017-07-17 17:51:06.000000000 -0400
|
|
+++ CGNS-3.3.1/src/cgnstypes.h.in 2018-11-01 10:31:34.578846500 -0400
|
|
@@ -37,8 +37,10 @@
|
|
#define CG_MAX_INT32 0x7FFFFFFF
|
|
#ifdef _WIN32
|
|
# define CG_LONG_T __int64
|
|
-#ifdef CG_BUILD_64BIT
|
|
-#define stat _stat32i64
|
|
+#ifdef _MSC_VER
|
|
+# ifdef CG_BUILD_64BIT
|
|
+# define stat _stat32i64
|
|
+# endif
|
|
#endif
|
|
#else
|
|
# define CG_LONG_T @CGLONGT@
|