summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-11-04 13:18:29 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-11-04 13:18:29 (GMT)
commit0f1d005a2a7123f4077dbe3ff446ced8f240f1f8 (patch)
tree37b13e6cac9bd952a62311061ed34ddb61584e5e /include
parent4901b0a94633bb131c10d830fdbd4d6a07c54c5e (diff)
Let CMake check endianness for MD5. Remove GROMACS header.
Diffstat (limited to 'include')
-rw-r--r--include/md5.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/md5.h b/include/md5.h
index 5aef902..5776af8 100644
--- a/include/md5.h
+++ b/include/md5.h
@@ -1,3 +1,7 @@
+
+/* This file has been modified in the TNG library distribution. Modifications
+ * are marked below. */
+
/*
Copyright (C) 1999, 2002 Aladdin Enterprises. All rights reserved.
@@ -49,6 +53,9 @@
#ifndef md5_INCLUDED
# define md5_INCLUDED
+
+/* The comment below does not apply to the version included in the TNG
+ * library. */
/*
* This package supports both compile-time and run-time determination of CPU
* byte order. If ARCH_IS_BIG_ENDIAN is defined as 0, the code will be
@@ -70,16 +77,20 @@ typedef struct md5_state_s {
} md5_state_t;
#ifdef __cplusplus
-extern "C"
+extern "C"
{
#endif
+/* The USE_WINDOWS define below was added in TNG library distribution of this
+ * file in order to compile properly in MSVC */
#ifndef USE_WINDOWS
#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
#define USE_WINDOWS
#endif /* win32... */
#endif /* not defined USE_WINDOWS */
+/* The DECLSPECDLLEXPORT define below was added in the TNG library distribution
+ * of this file. It is also used in the function declarations. */
#ifndef DECLSPECDLLEXPORT
#ifdef USE_WINDOWS
#define DECLSPECDLLEXPORT __declspec(dllexport)
contact: Jan Huwald // Impressum