Skip to content

Commit

Permalink
project: Fix compilation with VS2013.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sibras committed Nov 10, 2018
1 parent e1214d0 commit 02f545e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions SMP/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,19 @@
/* Define to 1 if you have the `clock_gettime' function. */
/* #undef HAVE_CLOCK_GETTIME */

#if defined( __INTEL_COMPILER )
/* Defined if underlying assembler is compatible with amd64 assembly
implementations */
/* #undef HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS */
#define HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS 1

/* Defined if underlying assembler is compatible with ARM assembly
implementations */
/* #undef HAVE_COMPATIBLE_GCC_ARM_PLATFORM_AS */

/* Defined if underlying assembler is compatible with WIN64 assembly
implementations */
/* #undef HAVE_COMPATIBLE_GCC_WIN64_PLATFORM_AS */
#define HAVE_COMPATIBLE_GCC_WIN64_PLATFORM_AS 1
#endif

/* Defined for Alpha platforms */
/* #undef HAVE_CPU_ARCH_ALPHA */
Expand Down Expand Up @@ -516,4 +518,12 @@ implementations */
properly prefixed. */
#define CAMELLIA_EXT_SYM_PREFIX _gcry_

#ifdef _MSC_VER
# define inline __inline
# include <crtversion.h>
# if _VC_CRT_MAJOR_VERSION < 14
# define snprintf _snprintf
# endif
#endif

#endif /*_GCRYPT_CONFIG_H_INCLUDED*/

0 comments on commit 02f545e

Please sign in to comment.