]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add files via upload
authorNiadb <34917535+Niadb@users.noreply.github.com>
Fri, 19 Jun 2020 09:31:47 +0000 (03:31 -0600)
committerGitHub <noreply@github.com>
Fri, 19 Jun 2020 09:31:47 +0000 (03:31 -0600)
lib/common/compiler.h

index 95e9483521d4f85741168be433cba20f2b4bdde2..825f01d803386edce673c51697cfe5b628eea819 100644 (file)
@@ -27,6 +27,7 @@
 #  define FORCE_INLINE_ATTR __attribute__((always_inline))
 #elif defined(_MSC_VER)
 #  define FORCE_INLINE_ATTR __forceinline
+
 #else
 #  define FORCE_INLINE_ATTR
 #endif
 
 #endif
 
+#if  defined(_MSC_VER)
+#  define WIN_CDECL __cdecl
+#else
+#  define WIN_CDECL 
+#endif
+
 /**
  * FORCE_INLINE_TEMPLATE is used to define C "templates", which take constant
  * parameters. They must be inlined for the compiler to eliminate the constant